From cf5d76a29fd77b1271fbb8fc7ec20147ffb816cf Mon Sep 17 00:00:00 2001 From: IanM Date: Thu, 14 Mar 2024 10:33:41 +0000 Subject: [PATCH] fix: admins could not see voters --- js/src/forum/components/PollView.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/src/forum/components/PollView.tsx b/js/src/forum/components/PollView.tsx index 06a20ad2..998aa9ef 100644 --- a/js/src/forum/components/PollView.tsx +++ b/js/src/forum/components/PollView.tsx @@ -45,7 +45,7 @@ export default class PollView extends Component { const state = this.state; const controls = PollControls.controls(poll, this); - poll.publicPoll() && + (poll.publicPoll() || poll.canEdit()) && controls.add( 'view',