diff --git a/plugins/core/package-lock.json b/plugins/core/package-lock.json index 40fd6b81c..a592e7128 100644 --- a/plugins/core/package-lock.json +++ b/plugins/core/package-lock.json @@ -1,12 +1,12 @@ { "name": "@scrypted/core", - "version": "0.1.74", + "version": "0.1.75", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@scrypted/core", - "version": "0.1.74", + "version": "0.1.75", "license": "Apache-2.0", "dependencies": { "@scrypted/common": "file:../../common", diff --git a/plugins/core/package.json b/plugins/core/package.json index 73609f477..7c4581ecf 100644 --- a/plugins/core/package.json +++ b/plugins/core/package.json @@ -1,6 +1,6 @@ { "name": "@scrypted/core", - "version": "0.1.74", + "version": "0.1.75", "description": "Scrypted Core plugin. Provides the UI, websocket, and engine.io APIs.", "author": "Scrypted", "license": "Apache-2.0", diff --git a/plugins/core/ui/src/interfaces/Settings.vue b/plugins/core/ui/src/interfaces/Settings.vue index 2382ad9c4..f60ad7b5b 100644 --- a/plugins/core/ui/src/interfaces/Settings.vue +++ b/plugins/core/ui/src/interfaces/Settings.vue @@ -266,15 +266,15 @@ export default { }, save() { for (const { value } of this.settings) { - if (value.key === '__name') { + if (value.key === '__name' && value.value !== value.originalValue) { this.device.setName(value.value); continue; } - if (value.key === '__type') { + if (value.key === '__type' && value.value !== value.originalValue) { this.device.setType(value.value); continue; } - if (value.key === '__room') { + if (value.key === '__room' && value.value !== value.originalValue) { this.device.setRoom(value.value); continue; }