web/admin: fix broken flow execute link (#2940)

This commit is contained in:
Egor Tensin 2022-05-24 10:26:58 +02:00 committed by GitHub
parent 61a876b582
commit d5702c6282
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -113,7 +113,7 @@ export class FlowListPage extends TablePage<Flow> {
<button <button
class="pf-c-button pf-m-plain" class="pf-c-button pf-m-plain"
@click=${() => { @click=${() => {
const finalURL = `${window.location.origin}/if/flows/${item.slug}/${AndNext( const finalURL = `${window.location.origin}/if/flow/${item.slug}/${AndNext(
`${window.location.pathname}#${window.location.hash}`, `${window.location.pathname}#${window.location.hash}`,
)}`; )}`;
window.open(finalURL, "_blank"); window.open(finalURL, "_blank");