Skip to content

Commit

Permalink
[DSC-2059] Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
atarix83 committed Nov 29, 2024
1 parent 731683a commit 113a5f8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,7 @@ import {
TranslateModule,
} from '@ngx-translate/core';
import { getTestScheduler } from 'jasmine-marbles';
import {
of as observableOf,
of,
} from 'rxjs';
import { of as observableOf } from 'rxjs';
import { TestScheduler } from 'rxjs/testing';

import { DSpaceObject } from '../../../core/shared/dspace-object.model';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import {
} from '@angular/core';
import { NgbModal } from '@ng-bootstrap/ng-bootstrap';
import { TranslateModule } from '@ngx-translate/core';
import { BehaviorSubject } from 'rxjs/internal/BehaviorSubject';
import { BehaviorSubject } from 'rxjs';
import { take } from 'rxjs/operators';

import { ItemExportFormatMolteplicity } from '../../../core/itemexportformat/item-export-format.service';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ import {
} from 'rxjs';
import {
catchError,
switchMap,
take,
} from 'rxjs/operators';

Expand All @@ -41,7 +42,6 @@ import {
import { NotificationsService } from '../../notifications/notifications.service';
import { ContextMenuEntryComponent } from '../context-menu-entry.component';
import { ContextMenuEntryType } from '../context-menu-entry-type';
import { switchMap } from 'rxjs/internal/operators/switchMap';

/**
* This component renders a context menu option that provides the request a correction functionality.
Expand Down Expand Up @@ -136,7 +136,7 @@ export class RequestCorrectionMenuComponent extends ContextMenuEntryComponent im
});

this.canCreateCorrection$ = this.notificationService.claimedProfile.pipe(
switchMap(() => this.canCreateCorrection(false))
switchMap(() => this.canCreateCorrection(false)),
);
}

Expand Down

0 comments on commit 113a5f8

Please sign in to comment.