web: fix flow download link
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
parent
e25f6aea8c
commit
8ddcf99bf7
|
@ -103,7 +103,7 @@ export class FlowListPage extends TablePage<Flow> {
|
|||
}}>
|
||||
${t`Execute`}
|
||||
</button>
|
||||
<a class="pf-c-button pf-m-secondary" href=${flow.exportUrl}>
|
||||
<a class="pf-c-button pf-m-secondary" href=${item.exportUrl}>
|
||||
${t`Export`}
|
||||
</a>`,
|
||||
];
|
||||
|
|
|
@ -163,7 +163,7 @@ export class SAMLProviderViewPage extends LitElement {
|
|||
<ak-action-button
|
||||
class="pf-m-secondary"
|
||||
.apiRequest=${() => {
|
||||
const fullUrl = window.location.origin + this.provider.metadataDownloadUrl;
|
||||
const fullUrl = window.location.origin + this.provider?.metadataDownloadUrl;
|
||||
return navigator.clipboard.writeText(fullUrl);
|
||||
}}>
|
||||
${t`Copy download URL`}
|
||||
|
|
Reference in a new issue