Skip to content

Commit

Permalink
geocat: do not show catalog on record page
Browse files Browse the repository at this point in the history
Co-authored-by: Romuald Caplier <[email protected]>
  • Loading branch information
2 people authored and jahow committed Nov 28, 2024
1 parent 550db61 commit 563e21d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,6 @@
[metadataQualityDisplay]="metadataQualityDisplay"
></gn-ui-metadata-quality>
</div>
<gn-ui-metadata-catalog
*ngIf="sourceLabel$ | async as sourceLabel"
[sourceLabel]="sourceLabel"
>
</gn-ui-metadata-catalog>
</div>
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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(() => {
Expand Down

0 comments on commit 563e21d

Please sign in to comment.