From 4a2bcf73203113250dcd3548e9ff188581d78e3b Mon Sep 17 00:00:00 2001 From: Zackary Santana <64446617+ZackarySantana@users.noreply.github.com> Date: Fri, 8 Mar 2024 11:20:42 -0500 Subject: [PATCH] DEVPROD-5336 Allow projects to be deleted for projects not attached to a repo (#2288) --- src/pages/projectSettings/tabs/GeneralTab/getFormSchema.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/projectSettings/tabs/GeneralTab/getFormSchema.tsx b/src/pages/projectSettings/tabs/GeneralTab/getFormSchema.tsx index c2a205432f..8e4c4cc697 100644 --- a/src/pages/projectSettings/tabs/GeneralTab/getFormSchema.tsx +++ b/src/pages/projectSettings/tabs/GeneralTab/getFormSchema.tsx @@ -238,7 +238,7 @@ export const getFormSchema = ( }, }, }, - ...(projectType === ProjectType.AttachedProject && { + ...(projectType !== ProjectType.Repo && { delete: { type: "object" as "object", title: "Delete Project",