File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -11,10 +11,7 @@ import {
1111 TranslateModule ,
1212} from '@ngx-translate/core' ;
1313import { getTestScheduler } from 'jasmine-marbles' ;
14- import {
15- of as observableOf ,
16- of ,
17- } from 'rxjs' ;
14+ import { of as observableOf } from 'rxjs' ;
1815import { TestScheduler } from 'rxjs/testing' ;
1916
2017import { DSpaceObject } from '../../../core/shared/dspace-object.model' ;
Original file line number Diff line number Diff line change 99} from '@angular/core' ;
1010import { NgbModal } from '@ng-bootstrap/ng-bootstrap' ;
1111import { TranslateModule } from '@ngx-translate/core' ;
12- import { BehaviorSubject } from 'rxjs/internal/BehaviorSubject ' ;
12+ import { BehaviorSubject } from 'rxjs' ;
1313import { take } from 'rxjs/operators' ;
1414
1515import { ItemExportFormatMolteplicity } from '../../../core/itemexportformat/item-export-format.service' ;
Original file line number Diff line number Diff line change @@ -24,6 +24,7 @@ import {
2424} from 'rxjs' ;
2525import {
2626 catchError ,
27+ switchMap ,
2728 take ,
2829} from 'rxjs/operators' ;
2930
@@ -41,7 +42,6 @@ import {
4142import { NotificationsService } from '../../notifications/notifications.service' ;
4243import { ContextMenuEntryComponent } from '../context-menu-entry.component' ;
4344import { ContextMenuEntryType } from '../context-menu-entry-type' ;
44- import { switchMap } from 'rxjs/internal/operators/switchMap' ;
4545
4646/**
4747 * This component renders a context menu option that provides the request a correction functionality.
@@ -136,7 +136,7 @@ export class RequestCorrectionMenuComponent extends ContextMenuEntryComponent im
136136 } ) ;
137137
138138 this . canCreateCorrection$ = this . notificationService . claimedProfile . pipe (
139- switchMap ( ( ) => this . canCreateCorrection ( false ) )
139+ switchMap ( ( ) => this . canCreateCorrection ( false ) ) ,
140140 ) ;
141141 }
142142
You can’t perform that action at this time.
0 commit comments