From 542217cc1626001f35c1a89a3986b0759695bcb6 Mon Sep 17 00:00:00 2001 From: alex <48489896+devnaumov@users.noreply.github.com> Date: Mon, 25 Sep 2023 19:07:16 +0200 Subject: [PATCH] CB-2439 remove save creds options from templates (#2020) --- .../plugin-connections/src/ConnectionForm/Options/Options.tsx | 2 +- .../packages/plugin-connections/src/ConnectionForm/SSH/SSH.tsx | 2 +- .../packages/plugin-connections/src/ConnectionForm/SSL/SSL.tsx | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/webapp/packages/plugin-connections/src/ConnectionForm/Options/Options.tsx b/webapp/packages/plugin-connections/src/ConnectionForm/Options/Options.tsx index 97ca18b52a..bee9ef0b57 100644 --- a/webapp/packages/plugin-connections/src/ConnectionForm/Options/Options.tsx +++ b/webapp/packages/plugin-connections/src/ConnectionForm/Options/Options.tsx @@ -321,7 +321,7 @@ export const Options: TabContainerPanelComponent = observe tiny /> - {credentialsSavingEnabled && ( + {credentialsSavingEnabled && !config.template && ( = observer(function SSH({ st {keyAuth && } - {credentialsSavingEnabled && ( + {credentialsSavingEnabled && !formState.config.template && ( = observer(function SSL({ st ))} - {credentialsSavingEnabled && ( + {credentialsSavingEnabled && !formState.config.template && (