Skip to content

Commit

Permalink
Fix missing footer element for Item Vue component (#2135)
Browse files Browse the repository at this point in the history
Fixes #2133.
Regression from #2087.

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
  • Loading branch information
florian-h05 committed Oct 29, 2023
1 parent 922c4f3 commit aef0a6b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bundles/org.openhab.ui/web/src/components/item/item.vue
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
<oh-icon v-if="!noIcon && item.category" slot="media" :icon="item.category" :state="(noState) ? null : (context && context.store) ? context.store[item.name].state : item.state" height="32" width="32" />
<span v-else-if="!noIcon" slot="media" class="item-initial">{{ item.name[0] }}</span>
<f7-icon v-if="!item.editable && !ignoreEditable" slot="after-title" f7="lock_fill" size="1rem" color="gray" />
<slot name="footer" #footer />
<div v-if="!noTags" slot="subtitle">
<f7-chip v-for="tag in getNonSemanticTags(item)" :key="tag" :text="tag" media-bg-color="blue" style="margin-right: 6px">
<f7-icon slot="media" ios="f7:tag_fill" md="material:label" aurora="f7:tag_fill" />
Expand Down

0 comments on commit aef0a6b

Please sign in to comment.