diff --git a/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/Views/Shared/Components/AbpMenu/Default.cshtml b/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/Views/Shared/Components/AbpMenu/Default.cshtml
index e4b75154c1..c3826aca41 100644
--- a/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/Views/Shared/Components/AbpMenu/Default.cshtml
+++ b/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/Views/Shared/Components/AbpMenu/Default.cshtml
@@ -34,16 +34,16 @@
}
}
-
- @if (CurrentTenant.Id == null)
+
+ @if (CurrentTenant.IsAvailable)
{
- no-tenant
+ @CurrentTenant.Name?.ToString()
}
else
{
- @CurrentTenant.Id.ToString()
+ no-tenant
}
-
+
|
@if (CurrentUser.IsAuthenticated)