fix: show proper issues list if no filters are present (#853)

This commit is contained in:
Aaryan Khandelwal 2023-04-17 17:10:36 +05:30 committed by GitHub
parent dc53708109
commit 6de54089cd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -439,12 +439,11 @@ export const IssueViewContextProvider: React.FC<{ children: React.ReactNode }> =
payload: { payload: {
...myViewProps?.view_props, ...myViewProps?.view_props,
filters: { filters: {
...myViewProps?.view_props?.filters, ...(viewId ? viewDetails?.query_data : myViewProps?.view_props?.filters),
...viewDetails?.query_data,
} as any, } as any,
}, },
}); });
}, [myViewProps, viewDetails]); }, [myViewProps, viewDetails, viewId]);
return ( return (
<issueViewContext.Provider <issueViewContext.Provider