mirror of
https://github.com/apache/superset.git
synced 2026-06-05 15:49:27 +00:00
chore: Deprecates 3.0 consented feature flags (#23785)
This commit is contained in:
committed by
GitHub
parent
09bd40bf15
commit
aa2edfc506
@@ -19,13 +19,7 @@
|
||||
import cx from 'classnames';
|
||||
import React from 'react';
|
||||
import PropTypes from 'prop-types';
|
||||
import {
|
||||
styled,
|
||||
t,
|
||||
logging,
|
||||
isFeatureEnabled,
|
||||
FeatureFlag,
|
||||
} from '@superset-ui/core';
|
||||
import { styled, t, logging } from '@superset-ui/core';
|
||||
import { isEqual } from 'lodash';
|
||||
import { withRouter } from 'react-router-dom';
|
||||
|
||||
@@ -319,10 +313,7 @@ class Chart extends React.Component {
|
||||
[URL_PARAMS.formDataKey.name]: key,
|
||||
[URL_PARAMS.sliceId.name]: this.props.slice.slice_id,
|
||||
});
|
||||
if (
|
||||
isFeatureEnabled(FeatureFlag.DASHBOARD_EDIT_CHART_IN_NEW_TAB) ||
|
||||
isOpenInNewTab
|
||||
) {
|
||||
if (isOpenInNewTab) {
|
||||
window.open(url, '_blank', 'noreferrer');
|
||||
} else {
|
||||
this.props.history.push(url);
|
||||
|
||||
Reference in New Issue
Block a user