From d484e52fb717170cd3a87c9c062866d8a0edb4d8 Mon Sep 17 00:00:00 2001 From: Julian Dehm Date: Thu, 28 Nov 2024 12:03:45 +0100 Subject: [PATCH] polls: fix typo in condition, makes change answer button visible again --- adhocracy4/polls/static/PollDetail/PollQuestions.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/adhocracy4/polls/static/PollDetail/PollQuestions.jsx b/adhocracy4/polls/static/PollDetail/PollQuestions.jsx index 0eaac08bd..ae3ed4d16 100644 --- a/adhocracy4/polls/static/PollDetail/PollQuestions.jsx +++ b/adhocracy4/polls/static/PollDetail/PollQuestions.jsx @@ -388,7 +388,7 @@ class PollQuestions extends React.Component { ))} this.removeAlert()} {...this.state.alert} /> - {this.state.questions.length > 0 && this.state.questions[0].authenticate && + {this.state.questions.length > 0 && this.state.questions[0].authenticated &&
{this.state.hasUserVote ? this.linkChangeVote : this.linkToPoll}
}