From 563e21d040722476f9e156588192408f55c2f8ac Mon Sep 17 00:00:00 2001 From: Romuald C <79055061+rcaplier@users.noreply.github.com> Date: Wed, 29 May 2024 15:28:06 +0200 Subject: [PATCH] geocat: do not show catalog on record page Co-authored-by: Romuald Caplier --- .../record/record-metadata/record-metadata.component.html | 5 ----- .../record-metadata/record-metadata.component.spec.ts | 6 ------ 2 files changed, 11 deletions(-) diff --git a/apps/datahub/src/app/record/record-metadata/record-metadata.component.html b/apps/datahub/src/app/record/record-metadata/record-metadata.component.html index 62a7e5aba..8f5225f4e 100644 --- a/apps/datahub/src/app/record/record-metadata/record-metadata.component.html +++ b/apps/datahub/src/app/record/record-metadata/record-metadata.component.html @@ -45,11 +45,6 @@ [metadataQualityDisplay]="metadataQualityDisplay" > - - diff --git a/apps/datahub/src/app/record/record-metadata/record-metadata.component.spec.ts b/apps/datahub/src/app/record/record-metadata/record-metadata.component.spec.ts index ddb562bcf..3ac3a56fb 100644 --- a/apps/datahub/src/app/record/record-metadata/record-metadata.component.spec.ts +++ b/apps/datahub/src/app/record/record-metadata/record-metadata.component.spec.ts @@ -137,12 +137,6 @@ describe('RecordMetadataComponent', () => { it('shows the metadata contact', () => { expect(metadataContact.metadata).toHaveProperty('contacts') }) - it('shows the metadata catalog', () => { - expect(sourcesService.getSourceLabel).toBeCalledWith( - SAMPLE_RECORD.extras.catalogUuid - ) - expect(catalogComponent.sourceLabel).toEqual('catalog label') - }) }) describe('if metadata not present', () => { beforeEach(() => {