Skip to content

Commit

Permalink
fix: unable to see group games if not admin
Browse files Browse the repository at this point in the history
  • Loading branch information
NathanFlurry committed Apr 5, 2024
1 parent c4b8602 commit 8642d22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/elements/pages/dev/group/group.ts
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ export default class GroupPage extends LitElement {
<group-banner .group=${this.profile}></group-banner>
<div class="flex flex-row w-full space-x-8 max-md:px-4 ">
${when(
this.games && this.profile.isCurrentIdentityMember,
this.games && (this.profile.isCurrentIdentityMember || global.currentIdentity.isAdmin),
() =>
html`<div class="games-list grid grid-cols-4 gap-4 w-full">
<div
Expand Down

0 comments on commit 8642d22

Please sign in to comment.