[WEB-2107] fix: Default filters and sorting on the initial load, filter mutation on tab change (#5259)

* chore: Default filters and sorting on the initial load, filter mutation on tab change

* Typo: changed method name in project intake store
This commit is contained in:
guru_sainath 2024-07-30 14:02:16 +05:30 committed by GitHub
parent 1adfb4dbe4
commit dc2e293058
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 48 additions and 22 deletions

View file

@ -34,7 +34,7 @@ export const InboxIssueRoot: FC<TInboxIssueRoot> = observer((props) => {
if (navigationTab && navigationTab !== currentTab) {
handleCurrentTab(workspaceSlug, projectId, navigationTab);
} else {
fetchInboxIssues(workspaceSlug.toString(), projectId.toString());
fetchInboxIssues(workspaceSlug.toString(), projectId.toString(), undefined, navigationTab);
}
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [inboxAccessible, workspaceSlug, projectId]);