|
@@ -227,8 +227,7 @@ export class QueriesTab extends PureComponent<Props, State> {
|
|
|
|
|
|
|
|
render() {
|
|
render() {
|
|
|
const { currentDatasource } = this.state;
|
|
const { currentDatasource } = this.state;
|
|
|
- const { hasQueryHelp, queryOptions } = currentDatasource.meta;
|
|
|
|
|
- const hasQueryOptions = !!queryOptions;
|
|
|
|
|
|
|
+ const { hasQueryHelp } = currentDatasource.meta;
|
|
|
const dsInformation = {
|
|
const dsInformation = {
|
|
|
title: currentDatasource.name,
|
|
title: currentDatasource.name,
|
|
|
imgSrc: currentDatasource.meta.info.logos.small,
|
|
imgSrc: currentDatasource.meta.info.logos.small,
|
|
@@ -259,7 +258,7 @@ export class QueriesTab extends PureComponent<Props, State> {
|
|
|
const options = {
|
|
const options = {
|
|
|
title: '',
|
|
title: '',
|
|
|
icon: 'fa fa-cog',
|
|
icon: 'fa fa-cog',
|
|
|
- disabled: !hasQueryOptions,
|
|
|
|
|
|
|
+ disabled: false,
|
|
|
render: this.renderOptions,
|
|
render: this.renderOptions,
|
|
|
};
|
|
};
|
|
|
|
|
|