Skip to content

Commit 15423ca

Browse files
committed
chore(*): fix ExpressionChangedAfterItHasBeenCheckedError
1 parent f8c2bd6 commit 15423ca

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/app/interactions/query-builder/query-builder-sql-sample/query-builder-sql-sample.component.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,7 @@ export class QueryBuilderSqlSampleComponent implements OnInit, AfterViewInit {
187187
public onChange() {
188188
const sqlQuery = this.transformExpressionTreeToSqlQuery(this.expressionTree);
189189
this.sqlQuery = format(sqlQuery);
190+
this.cdr.detectChanges();
190191

191192
this.grid.isLoading = true;
192193
this.http.post(`${API_ENDPOINT}/QueryBuilder/ExecuteQuery`, this.expressionTree).subscribe(data =>{

0 commit comments

Comments
 (0)