Skip to content

Commit 3758794

Browse files
committed
fix(MdDrawer): always enforce drawers as array
1 parent 40fb9a1 commit 3758794

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/MdApp/MdApp.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
return child.componentOptions.tag === 'md-app-drawer'
3535
})
3636
37-
return drawerVnodes.length && drawerVnodes
37+
return drawerVnodes.length ? drawerVnodes : []
3838
}
3939
4040
function hasInternalDrawer (attrs) {

0 commit comments

Comments
 (0)