Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add feature flags to control query sharing, KV exposure #9120

Merged
merged 11 commits into from
Feb 19, 2020
Prev Previous commit
Next Next commit
Fix eslint errors
  • Loading branch information
Will Barrett committed Feb 12, 2020
commit f1e683b7634df0e4a7ed0e51b70d9a795924a726
4 changes: 2 additions & 2 deletions superset-frontend/src/SqlLab/components/ShareSqlLabQuery.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@ import React from 'react';
import PropTypes from 'prop-types';
import { Popover, OverlayTrigger } from 'react-bootstrap';
import { t } from '@superset-ui/translation';
import { isFeatureEnabled, FeatureFlag } from 'src/featureFlags';

import Button from '../../components/Button';
import CopyToClipboard from '../../components/CopyToClipboard';
import { storeQuery } from '../../utils/common';
import getClientErrorObject from '../../utils/getClientErrorObject';
import withToasts from '../../messageToasts/enhancers/withToasts';
import { isFeatureEnabled, FeatureFlag } from 'src/featureFlags';

const propTypes = {
queryEditor: PropTypes.shape({
Expand Down Expand Up @@ -54,7 +54,7 @@ class ShareSqlLabQuery extends React.Component {
return this.getCopyUrlForKvStore();
}

this.getCopyUrlForSavedQuery();
return this.getCopyUrlForSavedQuery();
}

getCopyUrlForKvStore() {
Expand Down