chore: profile and my issues page start date option (#1815)

* chore: profile and my issues page start date option

* fix: properties order in my profile view options
This commit is contained in:
Aaryan Khandelwal 2023-08-09 15:46:47 +05:30 committed by GitHub
parent 3db69a3a71
commit d9ccce41bc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 4 deletions

View File

@ -76,16 +76,17 @@ export const initialState: StateType = {
},
properties: {
assignee: true,
attachment_count: true,
created_on: true,
start_date: true,
due_date: true,
estimate: true,
key: true,
labels: true,
link: true,
priority: true,
state: true,
sub_issue_count: true,
attachment_count: true,
link: true,
estimate: true,
created_on: true,
updated_on: true,
},
};

View File

@ -33,6 +33,7 @@ const initialValues: IWorkspaceViewProps = {
orderBy: "-created_at",
properties: {
assignee: true,
start_date: true,
due_date: true,
key: true,
labels: true,
@ -173,6 +174,7 @@ const useMyIssuesFilters = (workspaceSlug: string | undefined) => {
const newProperties: Properties = {
assignee: myWorkspace?.view_props.properties.assignee ?? true,
start_date: myWorkspace?.view_props.properties.start_date ?? true,
due_date: myWorkspace?.view_props.properties.due_date ?? true,
key: myWorkspace?.view_props.properties.key ?? true,
labels: myWorkspace?.view_props.properties.labels ?? true,