98422: Themed component import fixes

This commit is contained in:
Kristof De Langhe
2023-01-11 14:49:21 +01:00
parent c3d71cbdd6
commit de7fcb30da
3 changed files with 7 additions and 3 deletions

View File

@@ -85,7 +85,8 @@ import { ThemedItemStatusComponent } from './item-status/themed-item-status.comp
ObjectValuesPipe ObjectValuesPipe
], ],
exports: [ exports: [
ItemMetadataComponent ItemMetadataComponent,
ItemOperationComponent,
] ]
}) })
export class EditItemPageModule { export class EditItemPageModule {

View File

@@ -38,6 +38,7 @@ import { ItemPageRelationshipsGuard } from './item-page-relationships.guard';
import { ItemPageVersionHistoryGuard } from './item-page-version-history.guard'; import { ItemPageVersionHistoryGuard } from './item-page-version-history.guard';
import { ItemPageCollectionMapperGuard } from './item-page-collection-mapper.guard'; import { ItemPageCollectionMapperGuard } from './item-page-collection-mapper.guard';
import { ThemedItemPageComponent } from '../simple/themed-item-page.component'; import { ThemedItemPageComponent } from '../simple/themed-item-page.component';
import { ThemedItemStatusComponent } from './item-status/themed-item-status.component';
/** /**
* Routing module that handles the routing for the Edit Item page administrator functionality * Routing module that handles the routing for the Edit Item page administrator functionality
@@ -63,7 +64,7 @@ import { ThemedItemPageComponent } from '../simple/themed-item-page.component';
}, },
{ {
path: 'status', path: 'status',
component: ThemedItemPageComponent, component: ThemedItemStatusComponent,
data: { title: 'item.edit.tabs.status.title', showBreadcrumbs: true }, data: { title: 'item.edit.tabs.status.title', showBreadcrumbs: true },
canActivate: [ItemPageStatusGuard] canActivate: [ItemPageStatusGuard]
}, },

View File

@@ -86,6 +86,7 @@ import { ComcolModule } from '../../app/shared/comcol/comcol.module';
import { FeedbackComponent } from './app/info/feedback/feedback.component'; import { FeedbackComponent } from './app/info/feedback/feedback.component';
import { ItemStatusComponent } from './app/item-page/edit-item-page/item-status/item-status.component'; import { ItemStatusComponent } from './app/item-page/edit-item-page/item-status/item-status.component';
import { EditBitstreamPageComponent } from './app/bitstream-page/edit-bitstream-page/edit-bitstream-page.component'; import { EditBitstreamPageComponent } from './app/bitstream-page/edit-bitstream-page/edit-bitstream-page.component';
import { FormModule } from '../../app/shared/form/form.module';
const DECLARATIONS = [ const DECLARATIONS = [
FileSectionComponent, FileSectionComponent,
@@ -180,7 +181,8 @@ const DECLARATIONS = [
SearchModule, SearchModule,
FormsModule, FormsModule,
ResourcePoliciesModule, ResourcePoliciesModule,
ComcolModule ComcolModule,
FormModule,
], ],
declarations: DECLARATIONS declarations: DECLARATIONS
}) })