diff --git a/VirtualGroupEx.Server/Shared/MainLayout.razor b/VirtualGroupEx.Server/Shared/MainLayout.razor index d6d603a..467d354 100644 --- a/VirtualGroupEx.Server/Shared/MainLayout.razor +++ b/VirtualGroupEx.Server/Shared/MainLayout.razor @@ -14,26 +14,28 @@
-
-

- -

- -
-

-
- - - - @CurrentUser.User.NickName.Substring(0, Math.Min(CurrentUser.User.NickName.Length, 9)) - @if (CurrentUser.User.NickName.Length > 9) - { - ... - } - + @if (CurrentUser.User != null) + { +
+

+ +

+ +
+

+
+ + + @CurrentUser.User.NickName.Substring(0, Math.Min(CurrentUser.User.NickName.Length, 9)) + @if (CurrentUser.User.NickName.Length > 9) + { + ... + } + + }
@Body