Lastenheft.js in gitignore
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -27,3 +27,4 @@ trace
|
|||||||
# Ignore specific Next.js build files
|
# Ignore specific Next.js build files
|
||||||
pages-manifest.json
|
pages-manifest.json
|
||||||
nodeMap für 13 am 16.07.2024.zip
|
nodeMap für 13 am 16.07.2024.zip
|
||||||
|
Lastenheft.js
|
||||||
|
|||||||
@@ -1,4 +1,8 @@
|
|||||||
import { useEffect } from "react";
|
import { useEffect } from "react";
|
||||||
|
// TODO: Bei GMA Datenfeld Rechtsklick „Station öffnen“ funktioniert nicht.
|
||||||
|
// [x]: 1- Bei GMA Datenfeld Rechtsklick „Station öffnen“ funktioniert nicht.
|
||||||
|
//FIXME: Add a comment
|
||||||
|
//BUG: Add a comment
|
||||||
|
|
||||||
const useGmaMarkersLayer = (map, markers, GisStationsMeasurements, GMA, oms, isVisible) => {
|
const useGmaMarkersLayer = (map, markers, GisStationsMeasurements, GMA, oms, isVisible) => {
|
||||||
let currentMenu = null; // Variable für das aktuelle Kontextmenü
|
let currentMenu = null; // Variable für das aktuelle Kontextmenü
|
||||||
|
|||||||
@@ -47,7 +47,7 @@ export const initializeMap = (mapRef, setMap, setOms, setMenuItemAdded, addItems
|
|||||||
|
|
||||||
try {
|
try {
|
||||||
if (clickedElement instanceof L.Marker || clickedElement?.options?.link) {
|
if (clickedElement instanceof L.Marker || clickedElement?.options?.link) {
|
||||||
const link = "/talas5/devices/" + clickedElement.options.link;
|
const link = "http://" + window.location.hostname + "/talas5/devices/" + clickedElement.options.link;
|
||||||
if (link) {
|
if (link) {
|
||||||
console.log("Opening link in a new tab:", link);
|
console.log("Opening link in a new tab:", link);
|
||||||
window.open(link, "_blank");
|
window.open(link, "_blank");
|
||||||
|
|||||||
Reference in New Issue
Block a user