mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-09 11:41:30 -07:00
only show warning if less than 1 choice
This commit is contained in:
parent
0a2472cdaa
commit
20ae5a3e68
2 changed files with 2 additions and 2 deletions
|
@ -1696,7 +1696,7 @@ _cw:
|
||||||
chars: "{count} characters"
|
chars: "{count} characters"
|
||||||
files: "{count} file(s)"
|
files: "{count} file(s)"
|
||||||
_poll:
|
_poll:
|
||||||
noOnlyOneChoice: "At least two choices are needed"
|
noOnlyOneChoice: "At least one choices are needed"
|
||||||
choiceN: "Choice {n}"
|
choiceN: "Choice {n}"
|
||||||
noMore: "You cannot add more choices"
|
noMore: "You cannot add more choices"
|
||||||
canMultipleVote: "Allow selecting multiple choices"
|
canMultipleVote: "Allow selecting multiple choices"
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<template>
|
<template>
|
||||||
<div class="zmdxowus">
|
<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
|
<i class="ph-warning ph-bold ph-lg"></i
|
||||||
>{{ i18n.ts._poll.noOnlyOneChoice }}
|
>{{ i18n.ts._poll.noOnlyOneChoice }}
|
||||||
</p>
|
</p>
|
||||||
|
|
Loading…
Reference in a new issue