Lastenheft.js in gitignore
This commit is contained in:
@@ -47,7 +47,7 @@ export const initializeMap = (mapRef, setMap, setOms, setMenuItemAdded, addItems
|
||||
|
||||
try {
|
||||
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) {
|
||||
console.log("Opening link in a new tab:", link);
|
||||
window.open(link, "_blank");
|
||||
|
||||
Reference in New Issue
Block a user