Skip to content
Permalink
Browse files
fix(ontology): bug fix in create ontology process (DSP-1558) (#423)
  • Loading branch information
kilchenmann committed Apr 20, 2021
1 parent 726aba5 commit bbd825b659aa695b6b1ba9d58fe5a09b91071a8b
Showing with 3 additions and 8 deletions.
  1. +3 −8 src/app/project/ontology/ontology-form/ontology-form.component.ts
@@ -102,14 +102,9 @@ export class OntologyFormComponent implements OnInit {

this.loading = true;

// set the cache
this._cache.get(this.projectCode, this._dspApiConnection.admin.projectsEndpoint.getProjectByShortcode(this.projectCode));

// get project
this._cache.get(this.projectCode, this._dspApiConnection.admin.projectsEndpoint.getProjectByShortcode(this.projectCode)).subscribe(
(response: ApiResponseData<ProjectResponse>) => {
this.project = response.body.project;

this._cache.get(this.projectCode).subscribe(
(response: ReadProject) => {
this.project = response;
this.buildForm();

this.loading = false;

0 comments on commit bbd825b

Please sign in to comment.