diff --git a/webapp/components/Modal/ReportModal.vue b/webapp/components/Modal/ReportModal.vue
index 0222a1fdf..25c7636e8 100644
--- a/webapp/components/Modal/ReportModal.vue
+++ b/webapp/components/Modal/ReportModal.vue
@@ -9,13 +9,6 @@
-
-
-
-
{{ $t('report.cancel') }}
@@ -103,7 +87,6 @@ export default {
failsValidations: true,
form: {
reasonCategory: null,
- // Wolle reasonCategory: reasonCategoryOptions[0],
reasonCategoryOptions,
reasonDescription: '',
},
@@ -112,11 +95,8 @@ export default {
type: 'enum',
required: true,
validator: (rule, value, callback, source, options) => {
- // Wolle console.log('value: ', value)
this.form.reasonCategory = value
- // Wolle console.log('this.form.reasonCategory: ', this.form.reasonCategory)
this.failsValidations = !this.form.reasonCategory
- // Wolle console.log('this.failsValidations: ', this.failsValidations)
callback()
},
},
@@ -142,15 +122,6 @@ export default {
},
},
methods: {
- // Wolle toggleReasonCategory(reasonCategory) {
- // console.log('reasonCategory: ', reasonCategory)
- // console.log('this.form.reasonCategory: ', this.form.reasonCategory)
- // this.failsValidations = false
- // },
- // Wolle inputReasonAddText(reasonDescription) {
- // console.log('reasonDescription: ', reasonDescription)
- // this.form.reasonDescription = reasonDescription
- // },
async cancel() {
// TODO: Use the "modalData" structure introduced in "ConfirmModal" and refactor this here. Be aware that all the Jest tests have to be refactored as well !!!
// await this.modalData.buttons.cancel.callback()
@@ -161,8 +132,6 @@ export default {
},
async confirm() {
const { reasonCategory, reasonDescription } = this.form
- // Wolle console.log('reasonCategory: ', reasonCategory.value)
- // Wolle console.log('reasonDescription: ', reasonDescription)
this.loading = true
// TODO: Use the "modalData" structure introduced in "ConfirmModal" and refactor this here. Be aware that all the Jest tests have to be refactored as well !!!