change(ui): bookmarks vs vault status
This commit is contained in:
parent
34415b71f0
commit
8ace0e0e6c
1 changed files with 8 additions and 0 deletions
|
|
@ -53,6 +53,14 @@ function SideMenu(props: Props) {
|
|||
if (item.key === MENU.VAULT) {
|
||||
return { ...item, hidden: false };
|
||||
}
|
||||
} else {
|
||||
if (item.key === MENU.VAULT) {
|
||||
return { ...item, hidden: true };
|
||||
}
|
||||
|
||||
if (item.key === MENU.BOOKMARKS) {
|
||||
return { ...item, hidden: false };
|
||||
}
|
||||
}
|
||||
if (item.hidden) return item;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue