fix(ui): check for enterprise
This commit is contained in:
parent
82d353ec49
commit
9ca08d7e23
1 changed files with 1 additions and 1 deletions
|
|
@ -57,7 +57,7 @@ function SideMenu(props: Props) {
|
|||
const account = userStore.account;
|
||||
const modules = account.settings?.modules ?? [];
|
||||
const isAdmin = account.admin || account.superAdmin;
|
||||
const isEnterprise = account.edition === 'ee';
|
||||
const isEnterprise = userStore.isEnterprise;
|
||||
const siteId = projectsStore.siteId;
|
||||
const isMobile = projectsStore.isMobile;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue