refactor: remove useless groupby from QueryObject (#21643)

This commit is contained in:
Yongjie Zhao
2022-09-30 11:53:54 +08:00
committed by GitHub
parent f3465f5b22
commit 9dd102f383
4 changed files with 4 additions and 8 deletions

View File

@@ -23,7 +23,6 @@ export default function buildQuery(formData: QueryFormData) {
return buildQueryContext(formData, baseQueryObject => [
{
...baseQueryObject,
groupby: formData.groupby || [],
...(sort_by_metric && { orderby: [[metric, false]] }),
},
]);