Skip to content
Snippets Groups Projects
Commit c82931e1 authored by Tifenn Guillas's avatar Tifenn Guillas
Browse files

Merge branch 'fix-bug-json' into 'develop'

Fix bug => DONE

See merge request !27
parents 64562b19 bd3d40e2
No related branches found
No related tags found
2 merge requests!68Develop,!27Fix bug => DONE
Pipeline #1317 passed
......@@ -23,7 +23,7 @@ export class CriteriaByFamilyComponent {
}
getOptions(idAttribute) {
return JSON.parse(this.datasetAttributeList.find(attribute => attribute.id === idAttribute).options);
return this.datasetAttributeList.find(attribute => attribute.id === idAttribute).options;
}
getCriterion(id: number): Criterion {
......
......@@ -52,6 +52,7 @@
</div>
<div *ngSwitchCase="'download'">
<a [href]="getAttributeUriAction(attribute.name, datum[attribute.name])"
download="getAttributeUriAction(attribute.name, datum[attribute.name])"
class="btn btn-outline-primary btn-sm">
<i class="fa fa-download" aria-hidden="true"></i>
</a>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment