Add dialog id to hashbang

This commit is contained in:
Dmitry Lyzo 2021-09-06 16:49:22 +03:00
parent 985a7fb670
commit a25e8d99a0

View file

@ -142,7 +142,7 @@ import '../../assets/css/scrollstyles.scss';
animateDialogOpen(dlg);
if (isHistoryEnabled(dlg)) {
appRouter.show('/dialog', { dialogId: hash });
appRouter.show(`/dialog?dlg=${hash}`, { dialogId: hash });
window.addEventListener('popstate', onHashChange);
} else {