fix: deep linking sometimes not working when sent over messengers

This commit is contained in:
Roman Hotsiy 2019-05-13 09:51:58 +03:00
parent 3a74b745b1
commit 2491d970de
No known key found for this signature in database
GPG Key ID: 5CB7B3ACABA57CB0

View File

@ -13,7 +13,7 @@ export class HistoryService {
}
get currentId(): string {
return IS_BROWSER ? window.location.hash.substring(1) : '';
return IS_BROWSER ? decodeURIComponent(window.location.hash.substring(1)) : '';
}
linkForId(id: string) {