fix: added default priority state in quick-add (#3761)

This commit is contained in:
guru_sainath 2024-02-22 20:59:06 +05:30 committed by GitHub
parent 03e5f4a5bd
commit 03f8bfae10
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -123,6 +123,7 @@ export const createIssuePayload: (projectId: string, formData: Partial<TIssue>)
const payload: TIssue = { const payload: TIssue = {
id: uuidv4(), id: uuidv4(),
project_id: projectId, project_id: projectId,
priority: "none",
// tempId is used for optimistic updates. It is not a part of the API response. // tempId is used for optimistic updates. It is not a part of the API response.
tempId: uuidv4(), tempId: uuidv4(),
// to be overridden by the form data // to be overridden by the form data