Skip to content

Commit

Permalink
fix: rename 'Private poll' to 'Anonymous poll'
Browse files Browse the repository at this point in the history
Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
  • Loading branch information
Antreesy committed Nov 12, 2024
1 parent dc72cd5 commit fddcf08
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/NewMessage/NewMessagePollEditor.vue
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,8 @@
{{ t('spreed', 'Settings') }}
</p>
<div class="poll-editor__settings">
<NcCheckboxRadioSwitch :checked.sync="isPrivate" type="checkbox">
{{ t('spreed', 'Private poll') }}
<NcCheckboxRadioSwitch :checked.sync="isAnonymous" type="checkbox">
{{ t('spreed', 'Anonymous poll') }}
</NcCheckboxRadioSwitch>
<NcCheckboxRadioSwitch :checked.sync="isMultipleAnswer" type="checkbox">
{{ t('spreed', 'Multiple answers') }}
Expand Down Expand Up @@ -166,7 +166,7 @@ const pollForm = reactive<createPollParams>({

const isFilled = computed(() => Boolean(pollForm.question) && pollForm.options.filter(option => Boolean(option)).length >= 2)

const isPrivate = computed({
const isAnonymous = computed({
get() {
return pollForm.resultMode === POLL.MODE.HIDDEN
},
Expand Down

0 comments on commit fddcf08

Please sign in to comment.