web/admin: open flow execution in new tab
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
parent
e903582f96
commit
4b2119510c
|
@ -85,7 +85,8 @@ export class FlowViewPage extends LitElement {
|
||||||
new FlowsApi(DEFAULT_CONFIG).flowsInstancesExecute({
|
new FlowsApi(DEFAULT_CONFIG).flowsInstancesExecute({
|
||||||
slug: this.flow.slug
|
slug: this.flow.slug
|
||||||
}).then(link => {
|
}).then(link => {
|
||||||
window.location.assign(`${link.link}?next=/%23${window.location.href}`);
|
const finalURL = `${link.link}?next=/%23${window.location.href}`;
|
||||||
|
window.open(finalURL, '_blank');
|
||||||
});
|
});
|
||||||
}}>
|
}}>
|
||||||
${t`Execute`}
|
${t`Execute`}
|
||||||
|
|
Reference in New Issue