From 5fbc2006c046140dabc63a3dd5c86b580c3e2f76 Mon Sep 17 00:00:00 2001 From: Pascal Euhus Date: Thu, 26 Sep 2024 11:44:05 +0200 Subject: [PATCH] fix eslint == finding --- src/main/webui/src/components/forms/DeployKeyForm.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/webui/src/components/forms/DeployKeyForm.tsx b/src/main/webui/src/components/forms/DeployKeyForm.tsx index d248d06b..bdaf424b 100644 --- a/src/main/webui/src/components/forms/DeployKeyForm.tsx +++ b/src/main/webui/src/components/forms/DeployKeyForm.tsx @@ -57,7 +57,7 @@ const DeployKeyForm = (props: DeployKeyFormProps) => { body.append("provider", moduleProvider); } } else if (srcType === "provider") { - if (scope == "type") { + if (scope === "type") { body.append("type", name); } } @@ -136,7 +136,7 @@ const DeployKeyForm = (props: DeployKeyFormProps) => { /> {srcType === "module" ? ( <> - {scope === "name" || scope == "provider" ? ( + {scope === "name" || scope === "provider" ? ( { sx={{ mb: 4 }} /> ) : null} - {scope == "provider" ? ( + {scope === "provider" ? ( { ) : ( <> - {scope == "type" ? ( + {scope === "type" ? (