Synchronize units on control and settings pages.

This commit is contained in:
saifullah-N
2023-06-22 18:26:10 +05:30
parent adf2a90096
commit 59005b4c3a
2 changed files with 4 additions and 1 deletions

View File

@@ -91,7 +91,9 @@ module.exports = {
return this.$root.display_units;
},
set: function(value) {
this.config.settings.units = value;
this.$root.display_units = value;
this.$dispatch("config-changed");
}
},