diff --git a/src/csui/LoggerUi.vue b/src/csui/LoggerUi.vue index 5476d52..2bb465f 100644 --- a/src/csui/LoggerUi.vue +++ b/src/csui/LoggerUi.vue @@ -55,7 +55,7 @@
- +
@@ -212,6 +212,15 @@ export default { this.confHasError = true; } }, + updateSettingsUi(val) { + try { + this.parsedSettings = JSON.stringify(val, null, 2); + this.lastSettings = val; + this.currentSettings = JSON.parse(JSON.stringify(this.lastSettings)); + } catch (e) { + + } + }, restoreLoggerSettings() { this.getLoggerSettings(); this.confHasError = false;