mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
Fix typing issue
This commit is contained in:
@@ -160,7 +160,8 @@ export class DataTableComponent implements OnInit, AfterViewChecked {
|
||||
|
||||
onImageLoadingError(event: Event) {
|
||||
if (event && this.fallbackThumbnail) {
|
||||
event.srcElement.src = this.fallbackThumbnail;
|
||||
let element = <any> event.srcElement;
|
||||
element.src = this.fallbackThumbnail;
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user