fix: keep the customers menu visible when the owner views as another user

This commit is contained in:
2026-10-19 11:56:05 +03:30
parent fddf22d7fe
commit e6f9876177
+1
View File
@@ -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 &&