feat: separator in contextmenu
This commit is contained in:
@@ -1,2 +1,2 @@
|
||||
// /config/appVersion
|
||||
export const APP_VERSION = "1.1.215";
|
||||
export const APP_VERSION = "1.1.216";
|
||||
|
||||
@@ -11,6 +11,10 @@ export function addContextMenuToMarker(marker) {
|
||||
|
||||
// ✅ Nur hinzufügen, wenn `selectedDevice` vorhanden ist
|
||||
if (marker?.options?.idDevice && marker?.options?.link) {
|
||||
contextMenuItems.push({
|
||||
separator: true,
|
||||
});
|
||||
|
||||
contextMenuItems.push({
|
||||
text: "Station öffnen (Tab)",
|
||||
icon: "/img/screen_new.png",
|
||||
|
||||
Reference in New Issue
Block a user