style: spreadsheet columns (#2554)
* style: spreadsheet columns * fix: build errors
This commit is contained in:
parent
cb533849e8
commit
442c83eea2
47 changed files with 171 additions and 263 deletions
|
|
@ -22,10 +22,10 @@ import { IInboxIssue, IIssue } from "types";
|
|||
const defaultValues: Partial<IInboxIssue> = {
|
||||
name: "",
|
||||
description_html: "",
|
||||
assignees_list: [],
|
||||
assignees: [],
|
||||
priority: "low",
|
||||
target_date: new Date().toString(),
|
||||
labels_list: [],
|
||||
labels: [],
|
||||
};
|
||||
|
||||
export const InboxMainContent: React.FC = observer(() => {
|
||||
|
|
@ -122,8 +122,8 @@ export const InboxMainContent: React.FC = observer(() => {
|
|||
|
||||
reset({
|
||||
...issueDetails,
|
||||
assignees_list: issueDetails.assignees_list ?? (issueDetails.assignee_details ?? []).map((user) => user.id),
|
||||
labels_list: issueDetails.labels_list ?? issueDetails.labels,
|
||||
assignees: issueDetails.assignees ?? (issueDetails.assignee_details ?? []).map((user) => user.id),
|
||||
labels: issueDetails.labels ?? issueDetails.labels,
|
||||
});
|
||||
}, [issueDetails, reset, inboxIssueId]);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue