From 8ddcf99bf7052ae94eef2b819246ee6bdab0de27 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Thu, 10 Jun 2021 21:47:40 +0200 Subject: [PATCH] web: fix flow download link Signed-off-by: Jens Langhammer --- web/src/pages/flows/FlowListPage.ts | 2 +- web/src/pages/providers/saml/SAMLProviderViewPage.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/web/src/pages/flows/FlowListPage.ts b/web/src/pages/flows/FlowListPage.ts index 037da0db2..3e65311dc 100644 --- a/web/src/pages/flows/FlowListPage.ts +++ b/web/src/pages/flows/FlowListPage.ts @@ -103,7 +103,7 @@ export class FlowListPage extends TablePage { }}> ${t`Execute`} - + ${t`Export`} `, ]; diff --git a/web/src/pages/providers/saml/SAMLProviderViewPage.ts b/web/src/pages/providers/saml/SAMLProviderViewPage.ts index cfb648537..4c0fd08f0 100644 --- a/web/src/pages/providers/saml/SAMLProviderViewPage.ts +++ b/web/src/pages/providers/saml/SAMLProviderViewPage.ts @@ -163,7 +163,7 @@ export class SAMLProviderViewPage extends LitElement { { - 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`}