Skip to content

Commit

Permalink
bug fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
padawannn committed Sep 2, 2020
1 parent b866967 commit 54530a6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/viz/dataview/formula/FormulaDataViewImpl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,14 +59,15 @@ export class FormulaDataViewImpl extends DataViewImpl<FormulaDataViewData> {
try {
const filterApplicator = dataviewRemote.getFilterApplicator();
const bbox = filterApplicator.getBbox();

dataviewRemote.updateDataViewSource(options);

const dataviewsApiResponse = await dataviewRemote.dataviewsApi.formula({
column: this.column,
operation: this.operation,
bbox
});

dataviewRemote.updateDataViewSource(options);

if (
dataviewsApiResponse.errors_with_context &&
dataviewsApiResponse.errors_with_context.length > 0
Expand Down

0 comments on commit 54530a6

Please sign in to comment.