diff --git a/src/app/dataset-detail/components/dataset-api/resources-queryable/resources-queryable.component.html b/src/app/dataset-detail/components/dataset-api/resources-queryable/resources-queryable.component.html index a311b34ff6f65b73f1bb2c4bb7b003764563e0c0..03353e9e2566b589a2301f0a13297c850336133b 100644 --- a/src/app/dataset-detail/components/dataset-api/resources-queryable/resources-queryable.component.html +++ b/src/app/dataset-detail/components/dataset-api/resources-queryable/resources-queryable.component.html @@ -27,13 +27,14 @@ <div class="description-and-formats is-hidden-mobile"> <span class="resource-description">{{ resource.description }}</span> <ng-container *ngFor="let format of resource.formats"> - <app-format-icon [formatName]="format.name"></app-format-icon> + <ng-container *ngFor="let linkformat of resource.metadataLink.formats"> + <app-format-icon [formatName]="format.name" *ngIf="linkformat==format.name"></app-format-icon> + </ng-container> </ng-container> </div> </div> </button> - <div class="resource-query column is-12" *ngIf="this.selectedApis[resource.id]"> <app-resource-queryable [resource]="resource" [metadata]="metadata" [projections]="projections"> </app-resource-queryable>