From 2491d970def837b2f5a0743c5eb73d7ca768fe88 Mon Sep 17 00:00:00 2001 From: Roman Hotsiy Date: Mon, 13 May 2019 09:51:58 +0300 Subject: [PATCH] fix: deep linking sometimes not working when sent over messengers --- src/services/HistoryService.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/services/HistoryService.ts b/src/services/HistoryService.ts index da48f946..1270fb89 100644 --- a/src/services/HistoryService.ts +++ b/src/services/HistoryService.ts @@ -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) {