Skip to content

Commit 75bd68a

Browse files
committed
fix(QBanner): regression on previous small tweak
1 parent 9ba7a98 commit 75bd68a

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

ui/src/components/banner/QBanner.js

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,21 +19,16 @@ export default Vue.extend({
1919
},
2020

2121
render (h) {
22-
const child = []
2322
const actions = slot(this, 'action')
24-
const avatar = slot(this, 'avatar')
25-
26-
avatar !== void 0 && child.push(
23+
const child = [
2724
h('div', {
2825
staticClass: 'q-banner__avatar col-auto row items-center self-start'
29-
}, avatar)
30-
)
26+
}, slot(this, 'avatar')),
3127

32-
child.push(
3328
h('div', {
3429
staticClass: 'q-banner__content col text-body2'
3530
}, slot(this, 'default'))
36-
)
31+
]
3732

3833
actions !== void 0 && child.push(
3934
h('div', {

0 commit comments

Comments
 (0)