Skip to content

Commit

Permalink
Prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
slvrtrn committed Apr 19, 2023
1 parent 4917dd6 commit f4bb147
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions src/data/CHDatasource.ts
Original file line number Diff line number Diff line change
Expand Up @@ -289,9 +289,7 @@ export class Datasource
'value' in f &&
f.value === action.options?.value &&
f.operator === FilterOperator.NotEquals) ||
(f.type === 'string' &&
f.key === action.options?.key &&
f.operator === FilterOperator.Equals)
(f.type === 'string' && f.key === action.options?.key && f.operator === FilterOperator.Equals)
)
);
filters.push({
Expand All @@ -303,12 +301,12 @@ export class Datasource
value: action.options.value,
});
}
const updatedBuilder = { ...query.builderOptions, filters }
const updatedBuilder = { ...query.builderOptions, filters };
return {
...query,
// the query is updated to trigger the URL update and propagation to the panels
rawSql: getSQLFromQueryOptions(updatedBuilder),
builderOptions: updatedBuilder
builderOptions: updatedBuilder,
};
}
return query;
Expand Down

0 comments on commit f4bb147

Please sign in to comment.