Skip to content

Commit

Permalink
polls: fix typo in condition, makes change answer button visible again
Browse files Browse the repository at this point in the history
  • Loading branch information
goapunk authored and m4ra committed Nov 28, 2024
1 parent 8fcd025 commit 0386ff9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion adhocracy4/polls/static/PollDetail/PollQuestions.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@ class PollQuestions extends React.Component {
<PollResults key={idx} question={question} />
))}
<Alert onClick={() => 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 &&
<div className="poll">
{this.state.hasUserVote ? this.linkChangeVote : this.linkToPoll}
</div>}
Expand Down

0 comments on commit 0386ff9

Please sign in to comment.