From 80ee303ac93bcb21e616268d5cf0187002db6a49 Mon Sep 17 00:00:00 2001 From: Julian Stirling Date: Thu, 28 Aug 2025 11:12:19 +0100 Subject: [PATCH] Update the reload property button next to property controls --- .../labThingsComponents/inputFromSchema.vue | 29 ++++++--------- .../syncPropertyButton.vue | 35 +++++++++++++++++++ .../controlComponents/paneControl.vue | 15 +++----- 3 files changed, 49 insertions(+), 30 deletions(-) create mode 100644 webapp/src/components/labThingsComponents/syncPropertyButton.vue diff --git a/webapp/src/components/labThingsComponents/inputFromSchema.vue b/webapp/src/components/labThingsComponents/inputFromSchema.vue index 32f78f63..33c674c6 100644 --- a/webapp/src/components/labThingsComponents/inputFromSchema.vue +++ b/webapp/src/components/labThingsComponents/inputFromSchema.vue @@ -11,9 +11,7 @@ @focusout="focusOut" @keydown="keyDown" /> - - refresh - +
@@ -27,9 +25,7 @@ /> {{ label }} - - refresh - +
@@ -83,9 +75,15 @@ + + diff --git a/webapp/src/components/tabContentComponents/controlComponents/paneControl.vue b/webapp/src/components/tabContentComponents/controlComponents/paneControl.vue index 1bb601a4..b4e57b2b 100644 --- a/webapp/src/components/tabContentComponents/controlComponents/paneControl.vue +++ b/webapp/src/components/tabContentComponents/controlComponents/paneControl.vue @@ -85,9 +85,7 @@ type="number" @keyup.enter="startMoveTask" /> - - refresh - +

import axios from "axios"; import ActionButton from "../../labThingsComponents/actionButton.vue"; +import syncPropertyButton from "../../labThingsComponents/syncPropertyButton.vue"; // Export main app export default { name: "PaneControl", components: { - ActionButton + ActionButton, + syncPropertyButton }, data: function() { @@ -375,11 +375,4 @@ export default { -webkit-appearance: none; margin: 0; } -.button-next-to-input { - flex-grow: 0; - padding-left: 5px; - padding-right: 5px; - vertical-align: middle; - cursor: pointer; -}