From 823456dbc2ca124e259f9967e9fafa5d951f58e3 Mon Sep 17 00:00:00 2001 From: Julian Stirling Date: Thu, 28 Aug 2025 11:11:27 +0100 Subject: [PATCH] Refresh property value if failed to set. --- .../src/components/labThingsComponents/propertyControl.vue | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/webapp/src/components/labThingsComponents/propertyControl.vue b/webapp/src/components/labThingsComponents/propertyControl.vue index 1ed1b477..055bbc9d 100644 --- a/webapp/src/components/labThingsComponents/propertyControl.vue +++ b/webapp/src/components/labThingsComponents/propertyControl.vue @@ -108,7 +108,10 @@ export default { await this.modalNotify(`Set ${this.label} to ${this.value}.`); } } catch (error) { - this.modalError(error); // Let mixin handle error + // Use mixin to display error + this.modalError(error); + // Re-read property to try to update to server value + this.readProperty(); } } }