diff --git a/src/admin/Bootstrap.Admin/Models/NavigatorBarModel.cs b/src/admin/Bootstrap.Admin/Models/NavigatorBarModel.cs
index dfad8504..fe7775d5 100644
--- a/src/admin/Bootstrap.Admin/Models/NavigatorBarModel.cs
+++ b/src/admin/Bootstrap.Admin/Models/NavigatorBarModel.cs
@@ -28,9 +28,9 @@ namespace Bootstrap.Admin.Models
///
public NavigatorBarModel(string? userName, string activeUrl = "") : base(userName)
{
- Navigations = MenuHelper.RetrieveSystemMenus(UserName, activeUrl);
+ Navigations = MenuHelper.RetrieveSystemMenus(userName, activeUrl);
var authApps = AppHelper.RetrievesByUserName(userName);
- Applications = DictHelper.RetrieveApps().Where(app => app.Key.IsNullOrEmpty() || authApps.Any(key => key.Equals(app.Key, StringComparison.OrdinalIgnoreCase)));
+ Applications = string.IsNullOrEmpty(userName) ? new KeyValuePair[0] : DictHelper.RetrieveApps().Where(app => app.Key.IsNullOrEmpty() || authApps.Any(key => key.Equals(app.Key, StringComparison.OrdinalIgnoreCase)));
}
///