Skip to content
Snippets Groups Projects
Commit f3e42772 authored by Baptiste Toulemonde's avatar Baptiste Toulemonde
Browse files

fix

parent 777cba41
No related branches found
No related tags found
3 merge requests!33Feature/maaping decription to tsv,!30Feature/distribution,!29Feature/distribution
...@@ -70,7 +70,7 @@ export class MappingComponent implements OnInit { ...@@ -70,7 +70,7 @@ export class MappingComponent implements OnInit {
this.dataSetService.getLocally('./assets/distribution.json').subscribe( this.dataSetService.getLocally('./assets/distribution.json').subscribe(
(distributions: Distribution[]) => { (distributions: Distribution[]) => {
this.distributions = this.ontology === "dcat" ? distributions.filter(d => !d.geodcat) : distributions; this.distributions = this.ontology === "dcat" ? distributions.filter(d => !d.geodcat) : distributions;
this.vocabularies = this.vocabularies.concat(this.distributions); this.vocabularies = this.vocabularies.concat(this.ontology === "dcat" ? distributions.filter(d => !d.geodcat) : distributions);
this.distributionSelectedPaths = []; this.distributionSelectedPaths = [];
} }
) )
......
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