Skip to content

Commit

Permalink
[bugfix] querier datasource, tags that only has name, deprecated warn…
Browse files Browse the repository at this point in the history
…ing not display

**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 Mar 12, 2024
1 parent 2fa0943 commit 99017a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deepflow-querier-datasource/src/QueryEditor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1093,7 +1093,7 @@ export class QueryEditor extends PureComponent<Props> {
const displaySuffix = deprecated ? ' ⚠️' : ''
if (name === client_name && name === server_name) {
return {
label: display_name === name ? `${name}` : `${name} (${display_name})` + displaySuffix,
label: (display_name === name ? `${name}` : `${name} (${display_name})`) + displaySuffix,
value: name,
type,
operatorOpts
Expand Down

0 comments on commit 99017a7

Please sign in to comment.