Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[stable30] fix: rename 'Private poll' to 'Anonymous poll' #13760

Merged
merged 1 commit into from
Nov 12, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading