mirror of
https://github.com/makeplane/plane.git
synced 2026-07-13 22:09:12 +02:00
@@ -146,6 +146,11 @@ export const createIssuePayload: (projectId: string, formData: Partial<TIssue>)
|
||||
id: uuidv4(),
|
||||
project_id: projectId,
|
||||
priority: "none",
|
||||
label_ids: [],
|
||||
assignee_ids: [],
|
||||
sub_issues_count: 0,
|
||||
attachment_count: 0,
|
||||
link_count: 0,
|
||||
// tempId is used for optimistic updates. It is not a part of the API response.
|
||||
tempId: uuidv4(),
|
||||
// to be overridden by the form data
|
||||
|
||||
@@ -503,7 +503,7 @@ export const IssueProperties: React.FC<IIssueProperties> = observer((props) => {
|
||||
<WithDisplayPropertiesHOC displayProperties={displayProperties} displayPropertyKey="labels">
|
||||
<IssuePropertyLabels
|
||||
projectId={issue?.project_id || null}
|
||||
value={issue?.label_ids || null}
|
||||
value={issue?.label_ids || []}
|
||||
defaultOptions={defaultLabelOptions}
|
||||
onChange={handleLabel}
|
||||
disabled={isReadOnly}
|
||||
|
||||
Reference in New Issue
Block a user