Error on missing initial hash
This commit is contained in:
parent
e4aeadecd7
commit
0844279c58
1 changed files with 3 additions and 2 deletions
|
@ -105,9 +105,10 @@ export class Link {
|
|||
webInstances = getWebInstanceMap(queryParams);
|
||||
}
|
||||
|
||||
if (linkStr.startsWith("#/")) {
|
||||
linkStr = linkStr.substr(2);
|
||||
if (!linkStr.startsWith("#/")) {
|
||||
return null;
|
||||
}
|
||||
linkStr = linkStr.substr(2);
|
||||
|
||||
const [identifier, eventId] = linkStr.split("/");
|
||||
|
||||
|
|
Loading…
Reference in a new issue