Skip to content

Commit 45303fc

Browse files
committed
refactor(panel): Improve panels render method
1 parent ef078ec commit 45303fc

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

ui/src/components/carousel/QCarousel.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -175,9 +175,7 @@ export default Vue.extend({
175175
h('div', {
176176
staticClass: 'q-carousel__slides-container',
177177
directives: this.panelDirectives
178-
}, [
179-
this.__getPanelContent(h)
180-
])
178+
}, this.__getPanelContent(h))
181179
].concat(this.__getContent(h)))
182180
}
183181
},

ui/src/components/stepper/QStepper.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,9 +86,7 @@ export default Vue.extend({
8686
h('div', {
8787
staticClass: 'q-stepper__content q-panel-parent',
8888
directives: this.panelDirectives
89-
}, [
90-
this.__getPanelContent(h)
91-
])
89+
}, this.__getPanelContent(h))
9290
)
9391
},
9492

0 commit comments

Comments
 (0)