web/admin: fix flow executor not opening in new tab

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer 2021-09-01 13:15:31 +02:00
parent ecaee92634
commit f82aada23b
1 changed files with 1 additions and 3 deletions

View File

@ -101,9 +101,7 @@ export class FlowListPage extends TablePage<Flow> {
slug: item.slug, slug: item.slug,
}) })
.then((link) => { .then((link) => {
window.location.assign( window.open(`${link.link}?next=/%23${window.location.href}`);
`${link.link}?next=/%23${window.location.href}`,
);
}); });
}} }}
> >