Skip to content

Commit 124ef75

Browse files
twou12031travilyu
authored andcommitted
[bugfix] deepflow querier datasource, when using variables, conds can'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)
1 parent 61612ed commit 124ef75

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

deepflow-querier-datasource/dist/module.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

deepflow-querier-datasource/dist/plugin.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"links": [],
2121
"screenshots": [],
2222
"version": "1.0.0",
23-
"updated": "2022-10-12"
23+
"updated": "2022-10-13"
2424
},
2525
"routes": [
2626
{

deepflow-querier-datasource/src/QueryEditor.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -712,7 +712,7 @@ export class QueryEditor extends PureComponent<Props> {
712712
const tagValuesGroupsKeys = Object.keys(tagValuesGroup)
713713
for (let index = 0; index < tagValuesGroupsKeys.length; index++) {
714714
const tagName = tagValuesGroupsKeys[index]
715-
const tagValues = tagValuesGroup[tagName]
715+
const tagValues = tagValuesGroup[tagName].filter(e => !e.isVariable)
716716
// @ts-ignore
717717
const data = await querierJs.searchBySql(
718718
genGetTagValuesSql(

0 commit comments

Comments
 (0)