Skip to content

Commit

Permalink
fix: correctly render title-container also if no subtitle present (#1405
Browse files Browse the repository at this point in the history
)
  • Loading branch information
silvester-pari authored Dec 2, 2024
1 parent c6bd1ce commit 4294e6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion elements/itemfilter/src/methods/results/create.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ export function createItemListMethod(
}}
>
${when(
config.subTitleProperty,
config.subTitleProperty || config.imageProperty,
() => html`
${getValue(config.imageProperty, item)
? html`
Expand Down

0 comments on commit 4294e6a

Please sign in to comment.