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

@@ -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",