mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-08 02:24:11 +00:00
96252: Move menu support code to MenuModule
This commit is contained in:
@@ -12,8 +12,11 @@ import { ExternalLinkMenuItemComponent } from './menu-item/external-link-menu-it
|
||||
const COMPONENTS = [
|
||||
MenuSectionComponent,
|
||||
MenuComponent,
|
||||
LinkMenuItemComponent,
|
||||
];
|
||||
|
||||
const ENTRY_COMPONENTS = [
|
||||
TextMenuItemComponent,
|
||||
LinkMenuItemComponent,
|
||||
OnClickMenuItemComponent,
|
||||
ExternalLinkMenuItemComponent,
|
||||
];
|
||||
@@ -32,10 +35,12 @@ const PROVIDERS = [
|
||||
...MODULES
|
||||
],
|
||||
declarations: [
|
||||
...COMPONENTS
|
||||
...COMPONENTS,
|
||||
...ENTRY_COMPONENTS,
|
||||
],
|
||||
providers: [
|
||||
...PROVIDERS
|
||||
...PROVIDERS,
|
||||
...ENTRY_COMPONENTS,
|
||||
],
|
||||
exports: [
|
||||
...COMPONENTS
|
||||
|
Reference in New Issue
Block a user