removed vuejs logger completely, upgraded to vue 4.x validation not yet working

This commit is contained in:
2020-07-30 16:42:32 +02:00
parent 0a885f1750
commit d26cc1492d
23 changed files with 5436 additions and 2354 deletions

View File

@@ -679,18 +679,13 @@
},
methods: {
initRecorderUpdate(recorder, fieldName) {
this.$log.debug(recorder[fieldName]); // THIS SHOULD BE TRUE, NOT FALSE!! grml
this.$set(this.formEditField, recorder.id + '_' + fieldName, true);
this.$set(this.updateValues, recorder.id + '_' + fieldName, recorder[fieldName]);
},
updateRecorder(id, fieldName) {
this.$log.debug(id);
this.$log.debug(fieldName);
this.$parent.$data.isLoading = true;
const data = {};
this.$log.debug(this.updateValues[id + '_' + fieldName]);
data[fieldName] = this.updateValues[id + '_' + fieldName];
this.$log.debug(data);
recorderRepository.updateRecorder(id, data)
.then(() => {
this.$store.dispatch('loadRecorders')
@@ -711,7 +706,6 @@
});
}).catch((msg) => {
this.showErrorMessage('Could not safe recorder!');
this.$log.warn(msg);
});
},
deleteRecorder(id) {