Skip to content

Commit 2dfb002

Browse files
authored
fix(components/banner): correctly hide banner thumbnail when asked (#708)
1 parent f0c9d89 commit 2dfb002

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

components/src/banner.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,9 @@ export class Banner extends LitElement {
104104
this.config.description.text || DEFAULT_BANNER_DESCRIPTION
105105

106106
const showThumbnail =
107-
typeof this.config.thumbnail === 'undefined' || !!this.config.thumbnail
107+
typeof this.config.thumbnail === 'undefined' ||
108+
!!this.config.thumbnail.value
109+
108110
const thumbnail = showThumbnail
109111
? html`<img
110112
src="${defaultLogo}"

0 commit comments

Comments
 (0)