web: remove manually URL encoded paths

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer
2021-11-18 21:33:49 +01:00
parent 465898c7d0
commit e6638afa3c
4 changed files with 14 additions and 4 deletions

View File

@ -114,7 +114,9 @@ export class FlowListPage extends TablePage<Flow> {
})
.then((link) => {
window.open(
`${link.link}?inspector&next=/%23${window.location.href}`,
`${link.link}?inspector&next=${encodeURIComponent(
`/#${window.location.href}`,
)}`,
);
});
}}