Skip to content

Commit 90dbfdd

Browse files
[DSC-1529] fix lint
1 parent 2188dd7 commit 90dbfdd

1 file changed

Lines changed: 4 additions & 6 deletions

File tree

src/app/core/metadata/metadata.service.ts

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,6 @@ import { getFirstCompletedRemoteData, getFirstSucceededRemoteDataPayload } from
2929
import { RootDataService } from '../data/root-data.service';
3030
import { getBitstreamDownloadRoute } from '../../app-routing-paths';
3131
import { BundleDataService } from '../data/bundle-data.service';
32-
import { followLink } from '../../shared/utils/follow-link-config.model';
33-
import { Bundle } from '../shared/bundle.model';
3432
import { PaginatedList } from '../data/paginated-list.model';
3533
import { URLCombiner } from '../url-combiner/url-combiner';
3634
import { HardRedirectService } from '../services/hard-redirect.service';
@@ -465,7 +463,7 @@ export class MetadataService {
465463
* @param item
466464
* @private
467465
*/
468-
private getBitstreamFromThumbnail(item: Item) : Observable<Bitstream> {
466+
private getBitstreamFromThumbnail(item: Item): Observable<Bitstream> {
469467
return item.thumbnail.pipe(
470468
getFirstCompletedRemoteData(),
471469
map((thumbnailRD) => {
@@ -477,7 +475,7 @@ export class MetadataService {
477475
}),
478476
filter(data => !!data),
479477
getDownloadableBitstream(this.authorizationService),
480-
)
478+
);
481479
}
482480

483481
private setPrimaryBitstreamInBundleTag(tag: string): void {
@@ -486,9 +484,9 @@ export class MetadataService {
486484
this.getBitstreamFromThumbnail(item).pipe(
487485
switchMap((bitstream) => {
488486
if (hasValue(bitstream)) {
489-
return [getBitstreamDownloadRoute(bitstream)]
487+
return [getBitstreamDownloadRoute(bitstream)];
490488
} else {
491-
return null
489+
return null;
492490
}
493491
}),
494492
filter(data => !!data),

0 commit comments

Comments
 (0)