forked from github/plane
fix: view props undefined (#2160)
This commit is contained in:
committed by
GitHub
parent
8e9a4dca78
commit
3a2a329000
@@ -501,7 +501,6 @@ export const IssueViewContextProvider: React.FC<{ children: React.ReactNode }> =
|
||||
}, [projectId, workspaceSlug, myViewProps]);
|
||||
|
||||
useEffect(() => {
|
||||
console.log("running");
|
||||
dispatch({
|
||||
type: "REHYDRATE_THEME",
|
||||
payload: {
|
||||
|
||||
@@ -138,7 +138,7 @@ export const ProfileIssuesContextProvider: React.FC<{ children: React.ReactNode
|
||||
if (
|
||||
displayFilter.layout &&
|
||||
displayFilter.layout === "kanban" &&
|
||||
state.display_filters.group_by === null
|
||||
state.display_filters?.group_by === null
|
||||
) {
|
||||
dispatch({
|
||||
type: "SET_DISPLAY_FILTERS",
|
||||
|
||||
Reference in New Issue
Block a user