From 89ecc8b4deb96df0d20684db52f4e0f65fc72cfc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niels=20Pilgaard=20Gr=C3=B8ndahl?= Date: Fri, 9 Aug 2024 22:21:44 +0200 Subject: [PATCH] minor null fix --- src/web/Jordnaer/Pages/Groups/GroupDetails.razor | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/web/Jordnaer/Pages/Groups/GroupDetails.razor b/src/web/Jordnaer/Pages/Groups/GroupDetails.razor index aff113e1..78f40daa 100644 --- a/src/web/Jordnaer/Pages/Groups/GroupDetails.razor +++ b/src/web/Jordnaer/Pages/Groups/GroupDetails.razor @@ -40,9 +40,9 @@ EndIcon="@Icons.Material.Filled.GroupAdd"> Anmod om Medlemskab - @if (_currentUserIsAdmin) + @if (_currentUserIsAdmin && _group is not null) { -