From 03f8bfae10c4bf94e74180285c33fe0c112ff4bc Mon Sep 17 00:00:00 2001 From: guru_sainath Date: Thu, 22 Feb 2024 20:59:06 +0530 Subject: [PATCH] fix: added default priority state in quick-add (#3761) --- web/helpers/issue.helper.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/web/helpers/issue.helper.ts b/web/helpers/issue.helper.ts index b0121320e2..2dd165f651 100644 --- a/web/helpers/issue.helper.ts +++ b/web/helpers/issue.helper.ts @@ -123,6 +123,7 @@ export const createIssuePayload: (projectId: string, formData: Partial) const payload: TIssue = { id: uuidv4(), project_id: projectId, + priority: "none", // tempId is used for optimistic updates. It is not a part of the API response. tempId: uuidv4(), // to be overridden by the form data