Error on missing initial hash
This commit is contained in:
+3
-2
@@ -105,9 +105,10 @@ export class Link {
|
|||||||
webInstances = getWebInstanceMap(queryParams);
|
webInstances = getWebInstanceMap(queryParams);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (linkStr.startsWith("#/")) {
|
if (!linkStr.startsWith("#/")) {
|
||||||
linkStr = linkStr.substr(2);
|
return null;
|
||||||
}
|
}
|
||||||
|
linkStr = linkStr.substr(2);
|
||||||
|
|
||||||
const [identifier, eventId] = linkStr.split("/");
|
const [identifier, eventId] = linkStr.split("/");
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user