From b863a1d447a71f2e8cfec3e722e42c6c25b944f1 Mon Sep 17 00:00:00 2001 From: dartcafe Date: Thu, 25 Mar 2021 09:52:22 +0100 Subject: [PATCH] some optimizations Signed-off-by: dartcafe --- lib/Db/Poll.php | 2 +- .../Configuration/ConfigProposals.vue | 18 +++++++++--------- src/js/components/Options/OptionItemOwner.vue | 1 + src/js/components/Options/OptionsDateShift.vue | 11 +++++++++-- src/js/components/VoteTable/VoteTable.vue | 5 +++-- src/js/store/modules/options.js | 6 ++++++ src/js/store/modules/poll.js | 12 ++++++++++++ src/js/views/Vote.vue | 3 ++- 8 files changed, 43 insertions(+), 15 deletions(-) diff --git a/lib/Db/Poll.php b/lib/Db/Poll.php index e89908c9b..0ed9094fe 100644 --- a/lib/Db/Poll.php +++ b/lib/Db/Poll.php @@ -87,7 +87,7 @@ class Poll extends Entity implements JsonSerializable { public const SHOW_RESULTS_NEVER = 'never'; public const PROPOSAL_DISALLOW = 'disallow'; public const PROPOSAL_ALLOW = 'allow'; - public const PROPOSAL_RELEASE = 'release'; + public const PROPOSAL_RELEASE = 'review'; /** @var string $type */ protected $type; diff --git a/src/js/components/Configuration/ConfigProposals.vue b/src/js/components/Configuration/ConfigProposals.vue index a0ae37cad..cb9713384 100644 --- a/src/js/components/Configuration/ConfigProposals.vue +++ b/src/js/components/Configuration/ConfigProposals.vue @@ -22,15 +22,15 @@