Skip to content

Commit

Permalink
[bugfix] deepflow querier datasource, when using variables, conds can…
Browse files Browse the repository at this point in the history
…'t display after reload

**Phenomenon and reproduction steps**

none

**Root cause and solution**

none

**Impactions**

none

**Test method**

none

**Affected branch(es)**

- main

**Checklist**

- [ ] Dependencies update required
- [ ] Common bug (similar problem in other repo)
  • Loading branch information
twou12031 authored and travilyu committed Oct 13, 2022
1 parent 61612ed commit 124ef75
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion deepflow-querier-datasource/dist/module.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion deepflow-querier-datasource/dist/plugin.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"links": [],
"screenshots": [],
"version": "1.0.0",
"updated": "2022-10-12"
"updated": "2022-10-13"
},
"routes": [
{
Expand Down
2 changes: 1 addition & 1 deletion deepflow-querier-datasource/src/QueryEditor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -712,7 +712,7 @@ export class QueryEditor extends PureComponent<Props> {
const tagValuesGroupsKeys = Object.keys(tagValuesGroup)
for (let index = 0; index < tagValuesGroupsKeys.length; index++) {
const tagName = tagValuesGroupsKeys[index]
const tagValues = tagValuesGroup[tagName]
const tagValues = tagValuesGroup[tagName].filter(e => !e.isVariable)
// @ts-ignore
const data = await querierJs.searchBySql(
genGetTagValuesSql(
Expand Down

0 comments on commit 124ef75

Please sign in to comment.