diff --git a/src-ui/src/app/components/document-detail/document-detail.component.ts b/src-ui/src/app/components/document-detail/document-detail.component.ts index a1162ab7f..6630f0ad6 100644 --- a/src-ui/src/app/components/document-detail/document-detail.component.ts +++ b/src-ui/src/app/components/document-detail/document-detail.component.ts @@ -487,7 +487,7 @@ export class DocumentDetailComponent this.metadata = result }, error: (error) => { - this.metadata = null + this.metadata = {} // allow display to fallback to tag this.toastService.showError( $localize`Error retrieving metadata`, error