Skip to content

Commit

Permalink
fix: admins could not see voters
Browse files Browse the repository at this point in the history
  • Loading branch information
imorland committed Mar 14, 2024
1 parent ca1964d commit cf5d76a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/src/forum/components/PollView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export default class PollView extends Component<PollAttrs, PollState> {
const state = this.state;
const controls = PollControls.controls(poll, this);

poll.publicPoll() &&
(poll.publicPoll() || poll.canEdit()) &&
controls.add(
'view',
<Button onclick={state.showVoters} icon="fas fa-poll">
Expand Down

0 comments on commit cf5d76a

Please sign in to comment.