Skip to content

Commit

Permalink
fix(datahub): fixed RECORD_HAS_NO_LINK error block.
Browse files Browse the repository at this point in the history
  • Loading branch information
Romuald Caplier committed Jul 23, 2024
1 parent 5cc3714 commit 0adaf9e
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
)
)

Expand Down

0 comments on commit 0adaf9e

Please sign in to comment.