Skip to content

Commit

Permalink
Fixes inconsistently formatting.
Browse files Browse the repository at this point in the history
  • Loading branch information
boyan-tonchev committed Feb 6, 2023
1 parent 2f3698a commit 45f63f5
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,9 @@ export class OntotextYasguiWebComponent {
@Method()
setQuery(query: string): Promise<void> {
return this.getOntotextYasgui()
.then(() => this.ontotextYasgui.setQuery(query));
.then(() => {
this.ontotextYasgui.setQuery(query)
});
}

/**
Expand All @@ -202,7 +204,9 @@ export class OntotextYasguiWebComponent {
// OntotextYasgui instance is created and returned the wrapped Yasgui instance might not be yet
// initialized.
return this.getOntotextYasgui()
.then(ontotextYasgui => ontotextYasgui.openTab(queryModel));
.then(ontotextYasgui => {
ontotextYasgui.openTab(queryModel)
});
}

/**
Expand Down

0 comments on commit 45f63f5

Please sign in to comment.