Skip to content

Commit

Permalink
Thing actions: Respect action visibility
Browse files Browse the repository at this point in the history
Signed-off-by: Florian Hotze <[email protected]>
  • Loading branch information
florian-h05 committed Nov 11, 2024
1 parent 90210ae commit f86082b
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit f86082b

Please sign in to comment.