mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-13 13:03:04 +00:00
#674 add dock type
This commit is contained in:
@@ -45,6 +45,9 @@ export class GridThumbnailComponent implements OnInit, OnChanges {
|
|||||||
this.checkThumbnail(this.thumbnail);
|
this.checkThumbnail(this.thumbnail);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* If the old input is undefined and the new one is a bitsream then set src
|
||||||
|
*/
|
||||||
ngOnChanges(changes: SimpleChanges): void {
|
ngOnChanges(changes: SimpleChanges): void {
|
||||||
if (
|
if (
|
||||||
!hasValue(changes.thumbnail.previousValue) &&
|
!hasValue(changes.thumbnail.previousValue) &&
|
||||||
|
Reference in New Issue
Block a user