Skip to content

Commit

Permalink
rm SIP 34 UI flag
Browse files Browse the repository at this point in the history
  • Loading branch information
riahk committed Dec 17, 2020
1 parent 8d29381 commit 009cfe7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions superset/views/alerts.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ class AlertReportModelView(SupersetModelView):
def list(self) -> FlaskResponse:
if not (
is_feature_enabled("ENABLE_REACT_CRUD_VIEWS")
and is_feature_enabled("SIP_34_ALERTS_UI")
and is_feature_enabled("ALERT_REPORTS")
):
return super().list()

Expand All @@ -89,7 +89,7 @@ def list(self) -> FlaskResponse:
def log(self, pk: int) -> FlaskResponse: # pylint: disable=unused-argument
if not (
is_feature_enabled("ENABLE_REACT_CRUD_VIEWS")
and is_feature_enabled("SIP_34_ALERTS_UI")
and is_feature_enabled("ALERT_REPORTS")
):
return super().list()

Expand Down Expand Up @@ -202,7 +202,7 @@ class AlertModelView(SupersetModelView): # pylint: disable=too-many-ancestors
def list(self) -> FlaskResponse:
if not (
is_feature_enabled("ENABLE_REACT_CRUD_VIEWS")
and is_feature_enabled("SIP_34_ALERTS_UI")
and is_feature_enabled("ALERT_REPORTS")
):
return super().list()

Expand All @@ -213,7 +213,7 @@ def list(self) -> FlaskResponse:
def log(self, pk: int) -> FlaskResponse: # pylint: disable=unused-argument
if not (
is_feature_enabled("ENABLE_REACT_CRUD_VIEWS")
and is_feature_enabled("SIP_34_ALERTS_UI")
and is_feature_enabled("ALERT_REPORTS")
):
return super().list()

Expand Down

0 comments on commit 009cfe7

Please sign in to comment.