From 0289656b0839dea094372e5f397ac8abc6914e08 Mon Sep 17 00:00:00 2001 From: ISA Date: Mon, 2 Jun 2025 11:47:12 +0200 Subject: [PATCH] feat: separator in contextmenu --- config/appVersion.js | 2 +- utils/contextMenuUtils.js | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/config/appVersion.js b/config/appVersion.js index f09e1ceb6..38528cce8 100644 --- a/config/appVersion.js +++ b/config/appVersion.js @@ -1,2 +1,2 @@ // /config/appVersion -export const APP_VERSION = "1.1.215"; +export const APP_VERSION = "1.1.216"; diff --git a/utils/contextMenuUtils.js b/utils/contextMenuUtils.js index 20197675e..6379671d5 100644 --- a/utils/contextMenuUtils.js +++ b/utils/contextMenuUtils.js @@ -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",