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`}
|
${t`Execute`}
|
||||||
</button>
|
</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`}
|
${t`Export`}
|
||||||
</a>`,
|
</a>`,
|
||||||
];
|
];
|
||||||
|
|
|
@ -163,7 +163,7 @@ export class SAMLProviderViewPage extends LitElement {
|
||||||
<ak-action-button
|
<ak-action-button
|
||||||
class="pf-m-secondary"
|
class="pf-m-secondary"
|
||||||
.apiRequest=${() => {
|
.apiRequest=${() => {
|
||||||
const fullUrl = window.location.origin + this.provider.metadataDownloadUrl;
|
const fullUrl = window.location.origin + this.provider?.metadataDownloadUrl;
|
||||||
return navigator.clipboard.writeText(fullUrl);
|
return navigator.clipboard.writeText(fullUrl);
|
||||||
}}>
|
}}>
|
||||||
${t`Copy download URL`}
|
${t`Copy download URL`}
|
||||||
|
|
Reference in a new issue