Logger fixes
This commit is contained in:
parent
e529239c8d
commit
006e684f17
@ -191,14 +191,14 @@ export default {
|
|||||||
updateSettings(val) {
|
updateSettings(val) {
|
||||||
try {
|
try {
|
||||||
this.parsedSettings = JSON.stringify(JSON.parse(val.target.textContent.trim()), null, 2);
|
this.parsedSettings = JSON.stringify(JSON.parse(val.target.textContent.trim()), null, 2);
|
||||||
// this.lastSettings = JSON.parse(val.target.textContent.trim());
|
this.lastSettings = JSON.parse(val.target.textContent.trim());
|
||||||
this.confHasError = false;
|
this.confHasError = false;
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
this.confHasError = true;
|
this.confHasError = true;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
restoreLoggerSettings() {
|
restoreLoggerSettings() {
|
||||||
this.parsedSettings = JSON.stringify(this.lastSettings, null, 2);
|
this.getLoggerSettings();
|
||||||
this.confHasError = false;
|
this.confHasError = false;
|
||||||
},
|
},
|
||||||
async startLogging(){
|
async startLogging(){
|
||||||
|
Loading…
Reference in New Issue
Block a user