fix: AddPlanModal and AddRepoModal should only be closeable explicitly

This commit is contained in:
garethgeorge
2024-06-25 20:13:42 -07:00
parent 3099be5383
commit 15f92fcd90
2 changed files with 3 additions and 1 deletions
+1
View File
@@ -147,6 +147,7 @@ export const AddPlanModal = ({ template }: { template: Plan | null }) => {
Submit
</SpinButton>,
]}
maskClosable={false}
>
<Form
autoComplete="off"
+2 -1
View File
@@ -128,7 +128,7 @@ export const AddRepoModal = ({ template }: { template: Repo | null }) => {
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
</Button>,
]}
maskClosable={false}
>
<Form
autoComplete="off"