From 15f92fcd901da8c06ebd94576b09879e68bf5bc5 Mon Sep 17 00:00:00 2001 From: garethgeorge Date: Tue, 25 Jun 2024 20:13:42 -0700 Subject: [PATCH] fix: AddPlanModal and AddRepoModal should only be closeable explicitly --- webui/src/views/AddPlanModal.tsx | 1 + webui/src/views/AddRepoModal.tsx | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/webui/src/views/AddPlanModal.tsx b/webui/src/views/AddPlanModal.tsx index aab74492..9391b7fd 100644 --- a/webui/src/views/AddPlanModal.tsx +++ b/webui/src/views/AddPlanModal.tsx @@ -147,6 +147,7 @@ export const AddPlanModal = ({ template }: { template: Plan | null }) => { Submit , ]} + maskClosable={false} >
{ alertsApi.success("Added repo " + repo.uri); } } catch (e: any) { - alertsApi.error(formatErrorAlert(e, "Operation error: "), 15); + alertsApi.error(formatErrorAlert(e, "Operation error: "), 10); } finally { setConfirmLoading(false); } @@ -169,6 +169,7 @@ export const AddRepoModal = ({ template }: { template: Repo | null }) => { Submit , ]} + maskClosable={false} >