fix: keep the customers menu visible when the owner views as another user
This commit is contained in:
@@ -165,6 +165,7 @@ function cardAllowedForNav(card: {
|
||||
if (card.admin && !canSettings.value && !canOpenTeamWhileViewing.value) return false;
|
||||
if (!moduleAllowed(card.module)) return false;
|
||||
if (
|
||||
card.admin &&
|
||||
canOpenTeamWhileViewing.value &&
|
||||
!canSettings.value &&
|
||||
card.to &&
|
||||
|
||||
Reference in New Issue
Block a user