AlphaNotice: replaced big popover tooltip with native tooltip (#18997)

This commit is contained in:
Torkel Ödegaard
2019-09-11 09:02:17 +02:00
committed by GitHub
parent 196f8503a8
commit f2ca3abf07
4 changed files with 12 additions and 30 deletions

View File

@@ -168,9 +168,11 @@ export class QueryOptions extends PureComponent<Props, State> {
return Object.keys(this.allOptions).map(key => {
const options = this.allOptions[key];
const panelKey = options.panelKey || key;
// @ts-ignore
const value = this.state[panelKey];
if (value || queryOptions[key]) {
if (queryOptions[key]) {
return (
<DataSourceOption
key={key}