mirror of
https://github.com/apache/superset.git
synced 2026-04-17 07:05:04 +00:00
chore: remove SIP_34_SAVED_QUERIES_UI feature flag (#11175)
This commit is contained in:
@@ -23,7 +23,6 @@ from flask_babel import lazy_gettext as _
|
||||
|
||||
from superset import app, db
|
||||
from superset.constants import RouteMethod
|
||||
from superset.extensions import feature_flag_manager
|
||||
from superset.models.sql_lab import Query, SavedQuery, TableSchema, TabState
|
||||
from superset.typing import FlaskResponse
|
||||
from superset.utils import core as utils
|
||||
@@ -79,10 +78,7 @@ class SavedQueryView(
|
||||
@expose("/list/")
|
||||
@has_access
|
||||
def list(self) -> FlaskResponse:
|
||||
if not (
|
||||
app.config["ENABLE_REACT_CRUD_VIEWS"]
|
||||
and feature_flag_manager.is_feature_enabled("SIP_34_SAVED_QUERIES_UI")
|
||||
):
|
||||
if not app.config["ENABLE_REACT_CRUD_VIEWS"]:
|
||||
return super().list()
|
||||
|
||||
return super().render_app_template()
|
||||
|
||||
Reference in New Issue
Block a user