Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(ontology): set the cache earlier in case of only one ontology (DSP-1374) #397

Merged
merged 15 commits into from Mar 2, 2021
Merged
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
7 changes: 6 additions & 1 deletion src/app/project/ontology/ontology.component.ts
Expand Up @@ -232,8 +232,13 @@ export class OntologyComponent implements OnInit {
// open this ontology
this.openOntologyRoute(response.ontologies[0].id, this.view);
this.ontologyIri = response.ontologies[0].id;
this.getOntology(response.ontologies[0].id, true);
this.setCache();
} else {
// more than one ontology
// get all ontologies as ReadOntology and cache them
loadAndCache();
}
loadAndCache();
}

},
Expand Down