Fix for thumbnail images in items.

Revert changes in html template

Revert changes in html template

Revert changes in html template

(cherry picked from commit 88c39e8b26)
This commit is contained in:
Michael Spalti
2023-11-29 15:42:30 -08:00
committed by github-actions[bot]
parent 5b59d37e2f
commit 9c69a77d43

View File

@@ -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';
@@ -42,6 +42,7 @@ export class MediaViewerComponent implements OnDestroy, OnInit {
constructor(
protected bitstreamDataService: BitstreamDataService,
protected changeDetectorRef: ChangeDetectorRef
) {
}
@@ -85,6 +86,7 @@ export class MediaViewerComponent implements OnDestroy, OnInit {
}));
}
this.isLoading = false;
this.changeDetectorRef.detectChanges();
}));
}
}));