mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-14 13:33:03 +00:00
fixed after merge
This commit is contained in:
@@ -67,7 +67,7 @@ export class MyDSpacePageComponent implements OnInit {
|
||||
/**
|
||||
* The current relevant scopes
|
||||
*/
|
||||
scopeListRD$: Observable<DSpaceObject[]>;
|
||||
scopeListRD$: Observable<DSpaceObject[]> = new BehaviorSubject([]);
|
||||
|
||||
/**
|
||||
* Emits true if were on a small screen
|
||||
|
@@ -53,7 +53,7 @@ export class SearchPageComponent implements OnInit {
|
||||
/**
|
||||
* The current relevant scopes
|
||||
*/
|
||||
scopeListRD$: Observable<DSpaceObject[]> = new BehaviorSubject(null);
|
||||
scopeListRD$: Observable<DSpaceObject[]> = new BehaviorSubject([]);
|
||||
|
||||
/**
|
||||
* Emits true if were on a small screen
|
||||
@@ -86,9 +86,9 @@ export class SearchPageComponent implements OnInit {
|
||||
.subscribe((results) => {
|
||||
this.resultsRD$.next(results);
|
||||
});
|
||||
/* this.scopeListRD$ = this.searchConfigService.getCurrentScope('').pipe(
|
||||
this.scopeListRD$ = this.searchConfigService.getCurrentScope('').pipe(
|
||||
switchMap((scopeId) => this.service.getScopes(scopeId))
|
||||
);*/
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@@ -1,7 +1,7 @@
|
||||
import * as ngrx from '@ngrx/store';
|
||||
import { ActionsSubject, Store } from '@ngrx/store';
|
||||
import { cold, getTestScheduler, hot } from 'jasmine-marbles';
|
||||
import { EMPTY, of as observableOf } from 'rxjs';
|
||||
import { BehaviorSubject, EMPTY, of as observableOf } from 'rxjs';
|
||||
import { getMockObjectCacheService } from '../../shared/mocks/mock-object-cache.service';
|
||||
import { defaultUUID, getMockUUIDService } from '../../shared/mocks/mock-uuid.service';
|
||||
import { ObjectCacheService } from '../cache/object-cache.service';
|
||||
|
@@ -7,7 +7,7 @@ import { TranslateService } from '@ngx-translate/core';
|
||||
|
||||
import { Workspaceitem } from '../../../core/submission/models/workspaceitem.model';
|
||||
import { MyDSpaceActionsComponent } from '../mydspace-actions';
|
||||
import { SubmissionRestService } from '../../../submission/submission-rest.service';
|
||||
import { SubmissionRestService } from '../../../core/submission/submission-rest.service';
|
||||
import { WorkspaceitemDataService } from '../../../core/submission/workspaceitem-data.service';
|
||||
import { ResourceType } from '../../../core/shared/resource-type';
|
||||
import { NotificationsService } from '../../notifications/notifications.service';
|
||||
|
Reference in New Issue
Block a user