diff --git a/frontend/src/components/Contributions/ContributionForm.vue b/frontend/src/components/Contributions/ContributionForm.vue
index 8c747cccc..7e6ca4737 100644
--- a/frontend/src/components/Contributions/ContributionForm.vue
+++ b/frontend/src/components/Contributions/ContributionForm.vue
@@ -9,7 +9,6 @@
-
-
-
-
-
- {{ $t('contribution.exhausted') }}
+
+
+
+
+
diff --git a/frontend/src/components/Inputs/InputHour.vue b/frontend/src/components/Inputs/InputHour.vue
index 9b1f8b996..165726d61 100644
--- a/frontend/src/components/Inputs/InputHour.vue
+++ b/frontend/src/components/Inputs/InputHour.vue
@@ -50,7 +50,7 @@ export default {
},
watch: {
currentValue() {
- this.$emit('input', this.currentValue)
+ this.$emit('input', isNaN(Number(this.currentValue)) ? 0 : Number(this.currentValue))
},
value() {
if (this.value !== this.currentValue) this.currentValue = this.value
diff --git a/frontend/src/pages/Community.spec.js b/frontend/src/pages/Community.spec.js
index b4986af46..41ecc75e9 100644
--- a/frontend/src/pages/Community.spec.js
+++ b/frontend/src/pages/Community.spec.js
@@ -284,15 +284,6 @@ describe('Community', () => {
it('verifies the login (to get the new creations available)', () => {
expect(apolloRefetchMock).toBeCalled()
})
-
- it('set all data to the default values)', () => {
- const now = new Date().toISOString().split('T')[0]
-
- expect(wrapper.vm.form.id).toBe(null)
- expect(wrapper.vm.form.date.text()).toContain(now)
- expect(wrapper.vm.form.memo).toBe('')
- expect(wrapper.vm.form.amount).toBe('')
- })
})
describe('with error', () => {
diff --git a/frontend/src/validation-rules.js b/frontend/src/validation-rules.js
index 6614d728b..abb89b59f 100644
--- a/frontend/src/validation-rules.js
+++ b/frontend/src/validation-rules.js
@@ -56,7 +56,6 @@ export const loadAllRules = (i18nCallback) => {
extend('gddCreationTime', {
validate(value, { min, max }) {
- if (value) value = value.replace(',', '.')
return value >= min && value <= max
},
params: ['min', 'max'],