only show warning if less than 1 choice

This commit is contained in:
nelle 2024-08-18 18:12:47 -06:00
parent 0a2472cdaa
commit 20ae5a3e68
2 changed files with 2 additions and 2 deletions

View file

@ -1696,7 +1696,7 @@ _cw:
chars: "{count} characters"
files: "{count} file(s)"
_poll:
noOnlyOneChoice: "At least two choices are needed"
noOnlyOneChoice: "At least one choices are needed"
choiceN: "Choice {n}"
noMore: "You cannot add more choices"
canMultipleVote: "Allow selecting multiple choices"

View file

@ -1,6 +1,6 @@
<template>
<div class="zmdxowus">
<p v-if="choices.length < 2" class="caution">
<p v-if="choices.length < 1" class="caution">
<i class="ph-warning ph-bold ph-lg"></i
>{{ i18n.ts._poll.noOnlyOneChoice }}
</p>