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>2020-11-11 19:45:46 +0300
committerdartcafe <github@dartcafe.de>2020-11-11 19:45:46 +0300
commit6cf90aa16e754e6e3fe59f9e808a5d7102d784d2 (patch)
tree552d99a2e61581fcfb4bbd65a8fac336dde44e32 /src/js/components/SideBar
parent64dea701de070a3155b42a03d085a7f8b635e1ae (diff)
disable add text option on closed polls
Diffstat (limited to 'src/js/components/SideBar')
-rw-r--r--src/js/components/SideBar/SideBarTabOptionsText.vue2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/js/components/SideBar/SideBarTabOptionsText.vue b/src/js/components/SideBar/SideBarTabOptionsText.vue
index 33a0d700..3a86aff8 100644
--- a/src/js/components/SideBar/SideBarTabOptionsText.vue
+++ b/src/js/components/SideBar/SideBarTabOptionsText.vue
@@ -22,7 +22,7 @@
<template>
<div>
- <ConfigBox :title="t('polls', 'Add a new text option')" icon-class="icon-add">
+ <ConfigBox v-if="!closed" :title="t('polls', 'Add a new text option')" icon-class="icon-add">
<InputDiv v-model="newPollText" :placeholder="t('polls', 'Enter option text')"
@input="addOption()" />
</ConfigBox>