fix: handled default view on plane deploy (#1893)
* fix: handled default view on plane deploy * fix: handled default view on refresh
This commit is contained in:
parent
0afd72db95
commit
abb8782c44
2 changed files with 33 additions and 12 deletions
|
|
@ -24,11 +24,6 @@ const MobxStoreInit = () => {
|
|||
else localStorage.setItem("app_theme", _theme && _theme != "light" ? "dark" : "light");
|
||||
}, [store?.theme]);
|
||||
|
||||
// updating default board view when we are in the issues page
|
||||
useEffect(() => {
|
||||
if (board && board != store?.issue?.currentIssueBoardView) store.issue.setCurrentIssueBoardView(board);
|
||||
}, [board, store?.issue]);
|
||||
|
||||
return <></>;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue