Skip to content

Commit

Permalink
refactor(ontology): replace shadowed var
Browse files Browse the repository at this point in the history
  • Loading branch information
kilchenmann committed Feb 15, 2021
1 parent d7cb2d4 commit 076e0a7
Showing 1 changed file with 4 additions and 4 deletions.
Expand Up @@ -390,13 +390,13 @@ export class ResourceClassFormComponent implements OnInit, OnDestroy, AfterViewC
onto4Comment.entity = updateComment;

this._dspApiConnection.v2.onto.updateResourceClass(onto4Label).subscribe(
(classResponse: ResourceClassDefinitionWithAllLanguages) => {
this.lastModificationDate = classResponse.lastModificationDate;
(classLabelResponse: ResourceClassDefinitionWithAllLanguages) => {
this.lastModificationDate = classLabelResponse.lastModificationDate;
onto4Comment.lastModificationDate = this.lastModificationDate;

this._dspApiConnection.v2.onto.updateResourceClass(onto4Comment).subscribe(
(classResponse: ResourceClassDefinitionWithAllLanguages) => {
this.lastModificationDate = classResponse.lastModificationDate;
(classCommentResponse: ResourceClassDefinitionWithAllLanguages) => {
this.lastModificationDate = classCommentResponse.lastModificationDate;

// close the dialog box
this.loading = false;
Expand Down

0 comments on commit 076e0a7

Please sign in to comment.