diff --git a/apps/datahub/src/app/record/record-metadata/record-metadata.component.ts b/apps/datahub/src/app/record/record-metadata/record-metadata.component.ts index 43c712f165..3d485c2c0f 100644 --- a/apps/datahub/src/app/record/record-metadata/record-metadata.component.ts +++ b/apps/datahub/src/app/record/record-metadata/record-metadata.component.ts @@ -55,13 +55,17 @@ export class RecordMetadataComponent { ) displayDatasetHasNoLinkBlock$ = combineLatest([ + this.metadataViewFacade.isMetadataLoading$, this.displayDownload$, this.displayApi$, this.displayOtherLinks, ]).pipe( map( - ([displayDownload, displayApi, displayOtherLinks]) => - !displayDownload && !displayApi && !displayOtherLinks + ([isMetadataLoading, displayDownload, displayApi, displayOtherLinks]) => + !isMetadataLoading && + !displayDownload && + !displayApi && + !displayOtherLinks ) )