Skip to content

Commit c21cb76

Browse files
authored
fix(QStepper): check for not present message slot when stepper is vertical to avoid errors (quasarframework#7327)
1 parent 775e958 commit c21cb76

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ui/src/components/stepper/QStepper.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ export default Vue.extend({
6262
if (this.vertical === true) {
6363
this.__isValidPanelName(this.value) && this.__updatePanelIndex()
6464

65-
return top.concat(
65+
return (top === void 0 ? [] : top).concat(
6666
h('div', {
6767
staticClass: 'q-stepper__content',
6868
// stop propagation of content emitted @input

0 commit comments

Comments
 (0)