Commit f697dae4 authored by Matthieu Benoist's avatar Matthieu Benoist
Browse files

correction on format filter for dropdown list

parent 243977ff
......@@ -59,7 +59,11 @@
<div class="dropdown-menu" id="dropdown-menu" role="menu">
<div class="dropdown-content">
<a class="dropdown-item" *ngFor="let format of resource.formats" (click)="setFormat(format)">
{{ format.name }}
<ng-container *ngFor="let linkformat of resource.metadataLink.formats">
<ng-container *ngIf="linkformat==format.name">
{{ format.name }}
</ng-container>
</ng-container>
</a>
</div>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment