diff options
author | René Gieling <github@dartcafe.de> | 2021-03-02 16:41:39 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-02 16:41:39 +0300 |
commit | 8bd5e69cb454e7315e4b8b3e20f415587356366e (patch) | |
tree | 445444dab8425aa8427bc4e6cf675ea241721351 /src/js/components/Options/OptionsDate.vue | |
parent | 5e04fe191f047d88080db44c60b0b562d7b1f62a (diff) |
added hide options if booked out and move some logic to backend (#1449)
Diffstat (limited to 'src/js/components/Options/OptionsDate.vue')
-rw-r--r-- | src/js/components/Options/OptionsDate.vue | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/js/components/Options/OptionsDate.vue b/src/js/components/Options/OptionsDate.vue index d01f873f..483e3c10 100644 --- a/src/js/components/Options/OptionsDate.vue +++ b/src/js/components/Options/OptionsDate.vue @@ -24,7 +24,7 @@ <div> <ConfigBox v-if="countOptions" :title="t('polls', 'Available Options')" icon-class="icon-calendar-000"> <transition-group is="ul"> - <OptionItem v-for="(option) in sortedOptions" + <OptionItem v-for="(option) in options" :key="option.id" :option="option" :show-confirmed="true" @@ -113,7 +113,6 @@ export default { }), ...mapGetters({ - sortedOptions: 'options/sorted', pollIsClosed: 'poll/closed', countOptions: 'options/count', }), |