feat: separator in contextmenu

This commit is contained in:
ISA
2025-06-02 11:47:12 +02:00
parent c383be658e
commit 0289656b08
2 changed files with 5 additions and 1 deletions

View File

@@ -1,2 +1,2 @@
// /config/appVersion // /config/appVersion
export const APP_VERSION = "1.1.215"; export const APP_VERSION = "1.1.216";

View File

@@ -11,6 +11,10 @@ export function addContextMenuToMarker(marker) {
// ✅ Nur hinzufügen, wenn `selectedDevice` vorhanden ist // ✅ Nur hinzufügen, wenn `selectedDevice` vorhanden ist
if (marker?.options?.idDevice && marker?.options?.link) { if (marker?.options?.idDevice && marker?.options?.link) {
contextMenuItems.push({
separator: true,
});
contextMenuItems.push({ contextMenuItems.push({
text: "Station öffnen (Tab)", text: "Station öffnen (Tab)",
icon: "/img/screen_new.png", icon: "/img/screen_new.png",