Skip to content

Commit

Permalink
Fix not-editable for bridge selection
Browse files Browse the repository at this point in the history
Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
  • Loading branch information
florian-h05 committed Feb 9, 2024
1 parent 4d881dd commit 46a25e1
Showing 1 changed file with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,11 @@
This type of Thing needs to be associated to a working Bridge to function properly.
</f7-block-footer>
<f7-list v-if="ready && thingType.supportedBridgeTypeUIDs.length" inline-labels no-hairlines-md>
<thing-picker
title="Bridge" name="bridge" :value="thing.bridgeUID"
@input="updateBridge"
:filterType="thingType.supportedBridgeTypeUIDs" />
<thing-picker v-if="thing.editable"
title="Bridge" name="bridge" :value="thing.bridgeUID"
@input="updateBridge"
:filterType="thingType.supportedBridgeTypeUIDs" />
<f7-list-item v-else title="Bridge" :after="thing.bridgeUID" />
</f7-list>
</f7-col>
</f7-row>
Expand Down

0 comments on commit 46a25e1

Please sign in to comment.