Change: show preview even if metadata fails

This commit is contained in:
shamoon 2024-02-09 10:47:50 -08:00
parent 4855f4b8b1
commit aefa18d454

View File

@ -487,7 +487,7 @@ export class DocumentDetailComponent
this.metadata = result
},
error: (error) => {
this.metadata = null
this.metadata = {} // allow display to fallback to <object> tag
this.toastService.showError(
$localize`Error retrieving metadata`,
error