Skip to content

Commit 927be43

Browse files
authored
oh-list-item: Fix after slot not rendered in #after (#3481)
Regression from #3350. Signed-off-by: Florian Hotze <[email protected]>
1 parent d51d306 commit 927be43

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

bundles/org.openhab.ui/web/src/components/widgets/standard/list/oh-list-item.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@
3232
<template #after v-if="$slots.after">
3333
<slot name="after" />
3434
</template>
35-
<generic-widget-component v-if="context.component.slots && context.component.slots.after && context.component.slots.after.length"
36-
v-bind="$attrs"
37-
:context="childContext(context.component.slots.after[0])" />
35+
<template #after v-if="context.component.slots && context.component.slots.after && context.component.slots.after.length">
36+
<generic-widget-component v-bind="$attrs" :context="childContext(context.component.slots.after[0])" />
37+
</template>
3838
<f7-accordion-content v-if="context.parent.component.config.accordionList && !context.editmode">
3939
<generic-widget-component v-if="isRegularAccordion"
4040
v-bind="$attrs"

0 commit comments

Comments
 (0)