mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 01:54:15 +00:00
64503: AoT build error fixes
This commit is contained in:
@@ -33,7 +33,7 @@ let objectUpdatesService: ObjectUpdatesService;
|
||||
let notificationsService: NotificationsService;
|
||||
let location: Location;
|
||||
let formService: DynamicFormService;
|
||||
let router: Router;
|
||||
let router: any;
|
||||
let collection: Collection;
|
||||
let collectionService: CollectionDataService;
|
||||
|
||||
|
@@ -12,7 +12,7 @@ import { getCollectionPageRoute } from '../collection-page-routing.module';
|
||||
templateUrl: '../../shared/comcol-forms/edit-comcol-page/edit-comcol-page.component.html'
|
||||
})
|
||||
export class EditCollectionPageComponent extends EditComColPageComponent<Collection> {
|
||||
protected type = 'collection';
|
||||
public type = 'collection';
|
||||
|
||||
public constructor(
|
||||
protected router: Router,
|
||||
|
@@ -12,7 +12,7 @@ import { getCommunityPageRoute } from '../community-page-routing.module';
|
||||
templateUrl: '../../shared/comcol-forms/edit-comcol-page/edit-comcol-page.component.html'
|
||||
})
|
||||
export class EditCommunityPageComponent extends EditComColPageComponent<Community> {
|
||||
protected type = 'community';
|
||||
public type = 'community';
|
||||
|
||||
public constructor(
|
||||
protected router: Router,
|
||||
|
@@ -2,10 +2,8 @@ import { Component, OnInit } from '@angular/core';
|
||||
import { Observable } from 'rxjs';
|
||||
import { ActivatedRoute, Router } from '@angular/router';
|
||||
import { RemoteData } from '../../../core/data/remote-data';
|
||||
import { isNotEmpty, isNotUndefined } from '../../empty.util';
|
||||
import { isNotEmpty } from '../../empty.util';
|
||||
import { first, map } from 'rxjs/operators';
|
||||
import { getSucceededRemoteData } from '../../../core/shared/operators';
|
||||
import { DataService } from '../../../core/data/data.service';
|
||||
import { DSpaceObject } from '../../../core/shared/dspace-object.model';
|
||||
|
||||
/**
|
||||
@@ -19,7 +17,7 @@ export class EditComColPageComponent<TDomain extends DSpaceObject> implements On
|
||||
/**
|
||||
* The type of DSpaceObject (used to create i18n messages)
|
||||
*/
|
||||
protected type: string;
|
||||
public type: string;
|
||||
|
||||
/**
|
||||
* The current page outlet string
|
||||
|
Reference in New Issue
Block a user