Error on missing initial hash

This commit is contained in:
Danila Fedorin 2021-08-30 12:11:21 -07:00
parent e4aeadecd7
commit 0844279c58

View file

@ -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("/");