From 56ab5bdbd65812eb5388ec3eb35cf00ed8921117 Mon Sep 17 00:00:00 2001 From: Michael Bromley Date: Wed, 23 Jun 2021 14:58:55 +0200 Subject: [PATCH] fix(admin-ui): Correctly export relation selector components Relates to #941 --- .../admin-ui/src/lib/core/src/shared/shared.module.ts | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/packages/admin-ui/src/lib/core/src/shared/shared.module.ts b/packages/admin-ui/src/lib/core/src/shared/shared.module.ts index 6de70ae8c7..22c796f8c9 100644 --- a/packages/admin-ui/src/lib/core/src/shared/shared.module.ts +++ b/packages/admin-ui/src/lib/core/src/shared/shared.module.ts @@ -213,6 +213,9 @@ const DECLARATIONS = [ LocaleDatePipe, LocaleCurrencyPipe, TagSelectorComponent, + ManageTagsDialogComponent, + RelationSelectorDialogComponent, + RelationCardComponent, ]; const DYNAMIC_FORM_INPUTS = [ @@ -238,13 +241,7 @@ const DYNAMIC_FORM_INPUTS = [ @NgModule({ imports: [IMPORTS], exports: [...IMPORTS, ...DECLARATIONS, ...DYNAMIC_FORM_INPUTS], - declarations: [ - ...DECLARATIONS, - ...DYNAMIC_FORM_INPUTS, - ManageTagsDialogComponent, - RelationSelectorDialogComponent, - RelationCardComponent, - ], + declarations: [...DECLARATIONS, ...DYNAMIC_FORM_INPUTS], providers: [ // This needs to be shared, since lazy-loaded // modules have their own entryComponents which