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) { -