Skip to content

Commit

Permalink
fix(admin-ui): Correctly export relation selector components
Browse files Browse the repository at this point in the history
Relates to #941
  • Loading branch information
michaelbromley committed Jun 23, 2021
1 parent 424819c commit 56ab5bd
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions packages/admin-ui/src/lib/core/src/shared/shared.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,9 @@ const DECLARATIONS = [
LocaleDatePipe,
LocaleCurrencyPipe,
TagSelectorComponent,
ManageTagsDialogComponent,
RelationSelectorDialogComponent,
RelationCardComponent,
];

const DYNAMIC_FORM_INPUTS = [
Expand All @@ -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
Expand Down

0 comments on commit 56ab5bd

Please sign in to comment.