uncheck research products categories by default
This commit is contained in:
parent
131bec9d17
commit
74ce69909f
|
@ -259,16 +259,16 @@ export class HomeComponent implements OnInit, OnDestroy, AfterViewInit{
|
||||||
this.showDataProviders = !!showEntity["datasource"];
|
this.showDataProviders = !!showEntity["datasource"];
|
||||||
this.showOrganizations = !!showEntity["organization"];
|
this.showOrganizations = !!showEntity["organization"];
|
||||||
if (this.showPublications) {
|
if (this.showPublications) {
|
||||||
this.resultTypes.values.push({name: "Publications", id: "publications", selected: true, number: 0});
|
this.resultTypes.values.push({name: "Publications", id: "publications", selected: false, number: 0});
|
||||||
}
|
}
|
||||||
if (this.showDatasets) {
|
if (this.showDatasets) {
|
||||||
this.resultTypes.values.push({name: "Research data", id: "datasets", selected: true, number: 0});
|
this.resultTypes.values.push({name: "Research data", id: "datasets", selected: false, number: 0});
|
||||||
}
|
}
|
||||||
if (this.showSoftware) {
|
if (this.showSoftware) {
|
||||||
this.resultTypes.values.push({name: "Software", id: "software", selected: true, number: 0});
|
this.resultTypes.values.push({name: "Software", id: "software", selected: false, number: 0});
|
||||||
}
|
}
|
||||||
if (this.showOrp) {
|
if (this.showOrp) {
|
||||||
this.resultTypes.values.push({name: "Other research products", id: "other", selected: true, number: 0});
|
this.resultTypes.values.push({name: "Other research products", id: "other", selected: false, number: 0});
|
||||||
}
|
}
|
||||||
this.init(this.showDatasets, this.showSoftware, this.showPublications, this.showDatasets, this.showSoftware, this.showOrp, this.showProjects, this.showDataProviders, this.showOrganizations);
|
this.init(this.showDatasets, this.showSoftware, this.showPublications, this.showDatasets, this.showSoftware, this.showOrp, this.showProjects, this.showDataProviders, this.showOrganizations);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue