Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/polls.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordartcafe <github@dartcafe.de>2022-03-24 01:23:43 +0300
committerdartcafe <github@dartcafe.de>2022-03-24 01:23:43 +0300
commit3a91570cb414cb141ea2d215342ab68f4f65b754 (patch)
treec26fdbc745fe4706d85c50e4f5bbe385e632903d /src/js/components/Configuration
parent0ec00ec87b6771b87045b06746510250ae070192 (diff)
migrate access type hidden, public to private, open
Signed-off-by: dartcafe <github@dartcafe.de>
Diffstat (limited to 'src/js/components/Configuration')
-rw-r--r--src/js/components/Configuration/ConfigAccess.vue6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/js/components/Configuration/ConfigAccess.vue b/src/js/components/Configuration/ConfigAccess.vue
index 234d2bb6..be6c286b 100644
--- a/src/js/components/Configuration/ConfigAccess.vue
+++ b/src/js/components/Configuration/ConfigAccess.vue
@@ -25,7 +25,7 @@
<RadioGroupDiv v-model="pollAccess" :options="accessOptions" />
<CheckboxRadioSwitch class="indented"
:checked.sync="pollImportant"
- :disabled="pollAccess !== 'public'"
+ :disabled="pollAccess !== 'open'"
type="switch">
{{ t('polls', 'Relevant for all users') }}
</CheckboxRadioSwitch>
@@ -48,8 +48,8 @@ export default {
data() {
return {
accessOptions: [
- { value: 'hidden', label: t('polls', 'Only invited users') },
- { value: 'public', label: t('polls', 'All users') },
+ { value: 'private', label: t('polls', 'Only invited users') },
+ { value: 'open', label: t('polls', 'All users') },
],
}
},