change(ui): spot menu item handle collapse
This commit is contained in:
parent
ecdb98b057
commit
2144a90ea7
1 changed files with 1 additions and 1 deletions
|
|
@ -44,7 +44,7 @@ function SideMenu(props: Props) {
|
|||
const isPreferencesActive = location.pathname.includes('/client/');
|
||||
const [supportOpen, setSupportOpen] = React.useState(false);
|
||||
const { searchStore, projectsStore, userStore } = useStore();
|
||||
const spotOnly = true; //userStore.scopeState === 1;
|
||||
const spotOnly = userStore.scopeState === 1;
|
||||
const account = userStore.account;
|
||||
const modules = account.settings?.modules ?? [];
|
||||
const isAdmin = account.admin || account.superAdmin;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue