fixed wrong warning with single tenant
This commit is contained in:
@@ -37,7 +37,7 @@ $allowUserTheme = allowUserTheme();
|
||||
<div class="app-topbar-center" aria-hidden="true"></div>
|
||||
<ul class="app-topbar-right">
|
||||
<?php if ($canSwitchTenant): ?>
|
||||
<li class="app-topbar-tenant-slot" data-tooltip="<?php e(t('Tenant')); ?>" data-tooltip-pos="bottom">
|
||||
<li class="app-topbar-tenant-slot" data-tenant-switcher data-tooltip="<?php e(t('Tenant')); ?>" data-tooltip-pos="bottom">
|
||||
<details class="dropdown app-topbar-tenant-menu">
|
||||
<summary class="app-topbar-tenant-chip" aria-label="<?php e(t('Switch tenant')); ?>" title="<?php e($tenantLabel); ?>">
|
||||
<span class="app-topbar-tenant-name"><?php e($tenantLabel); ?></span>
|
||||
|
||||
Reference in New Issue
Block a user