mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-08 02:24:11 +00:00
54472: AoT build error fixes
This commit is contained in:
@@ -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;
|
||||
|
@@ -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');
|
||||
|
@@ -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;
|
||||
|
@@ -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');
|
||||
|
Reference in New Issue
Block a user