flows: add export URL to API

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer
2021-06-10 13:52:50 +02:00
parent 3a64d97040
commit 4766d6ff3d
3 changed files with 12 additions and 1 deletions

View File

@ -103,7 +103,7 @@ export class FlowListPage extends TablePage<Flow> {
}}>
${t`Execute`}
</button>
<a class="pf-c-button pf-m-secondary" href="/api/v2beta/flows/instances/${item.slug}/export/">
<a class="pf-c-button pf-m-secondary" href=${flow.exportUrl}>
${t`Export`}
</a>`,
];