From 3aefccb3029813cae4310811b1017bf13399e40a Mon Sep 17 00:00:00 2001 From: Hugome Date: Thu, 30 Apr 2020 12:08:05 +0200 Subject: [PATCH] fix: Drawer detection (#1929) --- src/components/MdApp/MdApp.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/MdApp/MdApp.vue b/src/components/MdApp/MdApp.vue index e184209d6..9e997ff95 100644 --- a/src/components/MdApp/MdApp.vue +++ b/src/components/MdApp/MdApp.vue @@ -84,7 +84,7 @@ function getDrawers (children) { const drawerVnodes = children.filter(child => { const tag = child.data.slot || normilizeTagName(child.componentOptions.tag) - return tag === 'md-app-drawer' + return ['md-app-drawer', 'md-app-drawer-right', 'md-app-drawer-left'].indexOf(tag) > -1 }) return drawerVnodes.length ? drawerVnodes : [] }