dataviz: hide filters cell behind feature flag (#60915)
This commit is contained in:
parent
21cbc7ee35
commit
cecde41751
|
@ -691,7 +691,7 @@ class ChartFiltersCell(CellBase):
|
|||
|
||||
@classmethod
|
||||
def is_enabled(cls):
|
||||
return settings.STATISTICS_PROVIDERS
|
||||
return settings.CHART_FILTERS_CELL_ENABLED and settings.STATISTICS_PROVIDERS
|
||||
|
||||
def get_cell_extra_context(self, context):
|
||||
from .forms import ChartFiltersForm
|
||||
|
|
|
@ -362,6 +362,7 @@ PWA_NOTIFICATION_ICON_URL = None
|
|||
BOOKING_CALENDAR_CELL_ENABLED = False
|
||||
LEGACY_CHART_CELL_ENABLED = False
|
||||
PUBLIK_FAMILY_CELL_ENABLED = False
|
||||
CHART_FILTERS_CELL_ENABLED = False
|
||||
|
||||
|
||||
def debug_show_toolbar(request):
|
||||
|
|
|
@ -89,6 +89,7 @@ if 'DISABLE_MIGRATIONS' in os.environ:
|
|||
BOOKING_CALENDAR_CELL_ENABLED = True
|
||||
LEGACY_CHART_CELL_ENABLED = True
|
||||
PUBLIK_FAMILY_CELL_ENABLED = True
|
||||
CHART_FILTERS_CELL_ENABLED = True
|
||||
|
||||
USER_PROFILE_CONFIG = {
|
||||
'fields': [
|
||||
|
|
Loading…
Reference in New Issue