From 8435603550789f2fdfd4dfd66ad03a71c526af28 Mon Sep 17 00:00:00 2001 From: Bhargav kodali <115476530+kb019@users.noreply.github.com> Date: Mon, 18 Mar 2024 04:04:50 +0530 Subject: [PATCH] Make download config button in implenter tools fully clickable (#957) --- .../src/configuration/configuration.component.tsx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/packages/apps/esm-implementer-tools-app/src/configuration/configuration.component.tsx b/packages/apps/esm-implementer-tools-app/src/configuration/configuration.component.tsx index 16ecbd57c..522ff62ca 100644 --- a/packages/apps/esm-implementer-tools-app/src/configuration/configuration.component.tsx +++ b/packages/apps/esm-implementer-tools-app/src/configuration/configuration.component.tsx @@ -164,8 +164,13 @@ export const Configuration: React.FC = () => { kind="secondary" iconDescription="Download config" renderIcon={(props) => } + onClick={(event: React.MouseEvent) => { + if ((event.target as HTMLAnchorElement).id != 'downloadConfigBtn') + document.getElementById('downloadConfigBtn')?.click(); + }} >