Make DrawerItem, DrawerBatch global components (#14751)

* Made DrawerItem, DrawerBatch global components

https://github.com/directus/directus/discussions/13139

* Added DrawerItem, DrawerBatch to src/components/register

* Removed DrawerItem, DrawerBatch from src/views/register

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
This commit is contained in:
John Flow
2022-08-02 16:55:45 +03:00
committed by GitHub
parent 1d196e968c
commit 40467bb960

View File

@@ -5,6 +5,8 @@ import SidebarDetail from '@/views/private/components/sidebar-detail.vue';
import UserPopover from '@/views/private/components/user-popover.vue';
import ValueNull from '@/views/private/components/value-null.vue';
import DocsWrapper from '@/views/private/components/docs-wrapper.vue';
import DrawerItem from '@/views/private/components/drawer-item.vue';
import DrawerBatch from '@/views/private/components/drawer-batch.vue';
import { App } from 'vue';
import TransitionBounce from './transition/bounce';
import TransitionDialog from './transition/dialog';
@@ -145,4 +147,6 @@ export function registerComponents(app: App): void {
app.component('UserPopover', UserPopover);
app.component('ValueNull', ValueNull);
app.component('DocsWrapper', DocsWrapper);
app.component('DrawerItem', DrawerItem);
app.component('DrawerBatch', DrawerBatch);
}