From ebc6530b12ca6ff23eaea1e2246b62e5b3160c1f Mon Sep 17 00:00:00 2001 From: ogerly Date: Fri, 22 Jul 2022 09:09:08 +0200 Subject: [PATCH] change locales, disable form if no date --- frontend/src/components/Contributions/ContributionForm.vue | 1 + frontend/src/pages/Community.vue | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/frontend/src/components/Contributions/ContributionForm.vue b/frontend/src/components/Contributions/ContributionForm.vue index 6682a988d..7f329ea46 100644 --- a/frontend/src/components/Contributions/ContributionForm.vue +++ b/frontend/src/components/Contributions/ContributionForm.vue @@ -122,6 +122,7 @@ export default { }, disabled() { if ( + this.form.date === '' || this.form.memo.length < this.minlength || this.form.amount <= 0 || this.form.amount > 1000 || diff --git a/frontend/src/pages/Community.vue b/frontend/src/pages/Community.vue index 21a741e8b..8f26481d4 100644 --- a/frontend/src/pages/Community.vue +++ b/frontend/src/pages/Community.vue @@ -2,7 +2,7 @@
- +