64503: AoT build error fixes

This commit is contained in:
Kristof De Langhe
2019-08-21 14:37:14 +02:00
parent 86555b936d
commit a3116a3c5a
4 changed files with 5 additions and 7 deletions

View File

@@ -33,7 +33,7 @@ let objectUpdatesService: ObjectUpdatesService;
let notificationsService: NotificationsService; let notificationsService: NotificationsService;
let location: Location; let location: Location;
let formService: DynamicFormService; let formService: DynamicFormService;
let router: Router; let router: any;
let collection: Collection; let collection: Collection;
let collectionService: CollectionDataService; let collectionService: CollectionDataService;

View File

@@ -12,7 +12,7 @@ import { getCollectionPageRoute } from '../collection-page-routing.module';
templateUrl: '../../shared/comcol-forms/edit-comcol-page/edit-comcol-page.component.html' templateUrl: '../../shared/comcol-forms/edit-comcol-page/edit-comcol-page.component.html'
}) })
export class EditCollectionPageComponent extends EditComColPageComponent<Collection> { export class EditCollectionPageComponent extends EditComColPageComponent<Collection> {
protected type = 'collection'; public type = 'collection';
public constructor( public constructor(
protected router: Router, protected router: Router,

View File

@@ -12,7 +12,7 @@ import { getCommunityPageRoute } from '../community-page-routing.module';
templateUrl: '../../shared/comcol-forms/edit-comcol-page/edit-comcol-page.component.html' templateUrl: '../../shared/comcol-forms/edit-comcol-page/edit-comcol-page.component.html'
}) })
export class EditCommunityPageComponent extends EditComColPageComponent<Community> { export class EditCommunityPageComponent extends EditComColPageComponent<Community> {
protected type = 'community'; public type = 'community';
public constructor( public constructor(
protected router: Router, protected router: Router,

View File

@@ -2,10 +2,8 @@ import { Component, OnInit } from '@angular/core';
import { Observable } from 'rxjs'; import { Observable } from 'rxjs';
import { ActivatedRoute, Router } from '@angular/router'; import { ActivatedRoute, Router } from '@angular/router';
import { RemoteData } from '../../../core/data/remote-data'; 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 { 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'; 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) * The type of DSpaceObject (used to create i18n messages)
*/ */
protected type: string; public type: string;
/** /**
* The current page outlet string * The current page outlet string