Skip to content

Commit

Permalink
Thing details: Fix Z-Wave network map shown if not Z-Wave binding (#2950
Browse files Browse the repository at this point in the history
)

Fixes #2940.

Signed-off-by: Florian Hotze <dev@florianhotze.com>
  • Loading branch information
florian-h05 authored Dec 28, 2024
1 parent 5d7f35a commit ba1772c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -94,12 +94,12 @@
:read-only="!editable" />

<!-- Thing Actions & UI Actions -->
<template v-if="thingActions.length > 0 || thingType?.UID?.startsWith('zwave')">
<template v-if="thingActions.length > 0 || thingType?.UID?.startsWith('zwave:')">
<f7-block-title medium class="no-margin-top">
Actions
</f7-block-title>
<f7-list class="margin-top" media-list>
<f7-list-item v-if="thingType?.UID?.startsWith('zwave')" title="View Network Map" link="" @click="openZWaveNetworkPopup()" />
<f7-list-item v-if="thingType?.UID?.startsWith('zwave:')" title="View Network Map" link="" @click="openZWaveNetworkPopup()" />
<f7-list-item v-for="action in thingActions" :key="action.name" :title="action.label" :footer="action.description" link="" @click="doThingAction(action)" />
</f7-list>
</template>
Expand Down

0 comments on commit ba1772c

Please sign in to comment.