Skip to content

Commit

Permalink
Fix for thumbnail images in items.
Browse files Browse the repository at this point in the history
Revert changes in html template

Revert changes in html template

Revert changes in html template
  • Loading branch information
mspalti committed Nov 30, 2023
1 parent 474b70b commit 88c39e8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/app/item-page/media-viewer/media-viewer.component.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Component, Input, OnDestroy, OnInit } from '@angular/core';
import { ChangeDetectorRef, Component, Input, OnDestroy, OnInit } from '@angular/core';
import { BehaviorSubject, Observable } from 'rxjs';
import { filter, take } from 'rxjs/operators';
import { BitstreamDataService } from '../../core/data/bitstream-data.service';
Expand Down Expand Up @@ -42,6 +42,7 @@ export class MediaViewerComponent implements OnDestroy, OnInit {

constructor(
protected bitstreamDataService: BitstreamDataService,
protected changeDetectorRef: ChangeDetectorRef
) {
}

Expand Down Expand Up @@ -85,6 +86,7 @@ export class MediaViewerComponent implements OnDestroy, OnInit {
}));
}
this.isLoading = false;
this.changeDetectorRef.detectChanges();
}));
}
}));
Expand Down

0 comments on commit 88c39e8

Please sign in to comment.