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