Skip to content

Commit

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

0 comments on commit ca4febb

Please sign in to comment.