Skip to content

Commit

Permalink
Merge pull request #3116 from nextcloud/fix/misc-bugs
Browse files Browse the repository at this point in the history
fix some bugs after testing
  • Loading branch information
dartcafe committed Oct 17, 2023
2 parents a0dcae6 + 60d0cfd commit dac8ea6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 7 deletions.
2 changes: 1 addition & 1 deletion appinfo/info.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<name>Polls</name>
<summary>A polls app, similar to Doodle/Dudle with the possibility to restrict access.</summary>
<description>A polls app, similar to Doodle/Dudle with the possibility to restrict access (members, certain groups/users, hidden and public).</description>
<version>5.4.0-beta6</version>
<version>5.4.0-rc1</version>
<licence>agpl</licence>
<author>Vinzenz Rosenkranz</author>
<author>René Gieling</author>
Expand Down
8 changes: 2 additions & 6 deletions src/js/components/Options/OptionsText.vue
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@
:title="t('polls', 'Delete option')"
@delete="removeOption(option)" />
<NcButton v-if="closed"
v-tooltip="confirmationCaption"
:aria-label="confirmationCaption"
v-tooltip="option.confirmed ? t('polls', 'Unconfirm option') : t('polls', 'Confirm option')"
:aria-label="option.confirmed ? t('polls', 'Unconfirm option') : t('polls', 'Confirm option')"
type="tertiary"
@click="confirmOption(option)">
<template #icon>
Expand Down Expand Up @@ -123,10 +123,6 @@ export default {
countOptions: 'options/count',
}),
confirmationCaption() {
return this.option.confirmed ? t('polls', 'Unconfirm option') : t('polls', 'Confirm option')
},
dragOptions() {
return {
animation: 200,
Expand Down
1 change: 1 addition & 0 deletions src/js/views/Vote.vue
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,7 @@ export default {
proposalsAllowed: 'poll/proposalsAllowed',
proposalsOpen: 'poll/proposalsOpen',
proposalsExpirySet: 'poll/proposalsExpirySet',
proposalsExpired: 'poll/proposalsExpired',
proposalsExpireRelative: 'poll/proposalsExpireRelative',
countHiddenParticipants: 'poll/countHiddenParticipants',
safeTable: 'poll/safeTable',
Expand Down

0 comments on commit dac8ea6

Please sign in to comment.