From a32c244323d5d947b7af1273429bc34b1e54cb4f Mon Sep 17 00:00:00 2001 From: A-Guldborg Date: Tue, 23 Apr 2024 16:10:46 +0200 Subject: [PATCH] Remove duplicate null check --- Shifty.App/Shared/NavMenu.razor | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Shifty.App/Shared/NavMenu.razor b/Shifty.App/Shared/NavMenu.razor index 27eb641..628842d 100644 --- a/Shifty.App/Shared/NavMenu.razor +++ b/Shifty.App/Shared/NavMenu.razor @@ -3,7 +3,7 @@ Home - @if (_user is not null && _user.IsInRole("Board") || _user is not null && _user.IsInRole("Manager")) + @if (_user is not null && (_user.IsInRole("Board") || _user.IsInRole("Manager"))) { Issue vouchers }