removed vuejs logger completely, upgraded to vue 4.x validation not yet working
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user