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

View file

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