From 03a6bc3d4205bd0669d6be3067c83aae38ec9ddc Mon Sep 17 00:00:00 2001 From: Curtis Upshall Date: Fri, 13 Jan 2023 16:32:25 -0800 Subject: [PATCH] BHBC-2076: Fix download action bug --- app/src/features/resources/ResourcesPage.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app/src/features/resources/ResourcesPage.tsx b/app/src/features/resources/ResourcesPage.tsx index 4335bbbe32..aed3800990 100644 --- a/app/src/features/resources/ResourcesPage.tsx +++ b/app/src/features/resources/ResourcesPage.tsx @@ -79,17 +79,18 @@ const ResourcesPage: React.FC = () => { resources.map((row: IResourceFile) => { const { templateType } = row.metadata; const templateName = row.metadata.templateName || row.fileName; + const downloadUrl = ensureProtocol(row.url, 'https://') return ( - + {templateName} {templateType || 'Other'} - +