From 549112b1bb4ead1d562ab338e52d57393958ae80 Mon Sep 17 00:00:00 2001 From: Florian Hotze Date: Mon, 11 Nov 2024 13:42:36 +0100 Subject: [PATCH] Thing actions: Respect action visibility (#2867) Signed-off-by: Florian Hotze --- .../web/src/pages/settings/things/thing-details.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/bundles/org.openhab.ui/web/src/pages/settings/things/thing-details.vue b/bundles/org.openhab.ui/web/src/pages/settings/things/thing-details.vue index a7d7ef5bc9..ba42107fd5 100644 --- a/bundles/org.openhab.ui/web/src/pages/settings/things/thing-details.vue +++ b/bundles/org.openhab.ui/web/src/pages/settings/things/thing-details.vue @@ -422,6 +422,7 @@ export default { loadThingActions () { return this.$oh.api.get('/rest/actions/' + this.thingId).then(data => { this.thingActions = data + .filter((a) => a.visibility === 'VISIBLE') .filter((a) => a.inputConfigDescriptions !== undefined) .sort((a, b) => a.label.localeCompare(b.label)) return Promise.resolve()