54472: AoT build error fixes

This commit is contained in:
Kristof De Langhe
2018-08-23 14:14:33 +02:00
parent 870c545357
commit 8a52bf1682
4 changed files with 8 additions and 7 deletions

View File

@@ -1,4 +1,3 @@
import { CommunityFormComponent } from './community-form.component';
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { SharedModule } from '../../shared/shared.module';
import { TranslateModule } from '@ngx-translate/core';
@@ -7,6 +6,7 @@ import { RouterTestingModule } from '@angular/router/testing';
import { By } from '@angular/platform-browser';
import { DebugElement } from '@angular/core';
import { CollectionFormComponent } from './collection-form.component';
import { Location } from '@angular/common';
describe('CommunityFormComponent', () => {
let comp: CollectionFormComponent;

View File

@@ -20,9 +20,9 @@ import { RemoteData } from '../../core/data/remote-data';
})
export class CreateCollectionPageComponent {
private error$: Observable<ErrorResponse>;
private parentUUID$: Observable<string>;
private communityRDObs: Observable<RemoteData<Community>>;
public error$: Observable<ErrorResponse>;
public parentUUID$: Observable<string>;
public communityRDObs: Observable<RemoteData<Community>>;
public constructor(private collectionDataService: CollectionDataService, private communityDataService: CommunityDataService, private routeService: RouteService, private router: Router) {
this.parentUUID$ = this.routeService.getQueryParameterValue('parent');

View File

@@ -6,6 +6,7 @@ import { CommonModule } from '@angular/common';
import { RouterTestingModule } from '@angular/router/testing';
import { By } from '@angular/platform-browser';
import { DebugElement } from '@angular/core';
import { Location } from '@angular/common';
describe('CommunityFormComponent', () => {
let comp: CommunityFormComponent;

View File

@@ -18,9 +18,9 @@ import { RemoteData } from '../../core/data/remote-data';
})
export class CreateCommunityPageComponent {
private error$: Observable<ErrorResponse>;
private parentUUID$: Observable<string>;
private communityRDObs: Observable<RemoteData<Community>>;
public error$: Observable<ErrorResponse>;
public parentUUID$: Observable<string>;
public communityRDObs: Observable<RemoteData<Community>>;
public constructor(private communityDataService: CommunityDataService, private routeService: RouteService, private router: Router) {
this.parentUUID$ = this.routeService.getQueryParameterValue('parent');