fix: issue view not updating order_by value (#324)

This commit is contained in:
Dakshesh Jain 2023-02-23 17:50:47 +05:30 committed by GitHub
parent a550f4b161
commit 98d4473501
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -229,7 +229,10 @@ export const IssueViewContextProvider: React.FC<{ children: React.ReactNode }> =
});
if (!workspaceSlug || !projectId) return;
saveDataToServer(workspaceSlug as string, projectId as string, state);
saveDataToServer(workspaceSlug as string, projectId as string, {
...state,
orderBy: property,
});
},
[projectId, workspaceSlug, state]
);