Skip to content

Commit

Permalink
fix(listview): update listview feature flag (apache#13906)
Browse files Browse the repository at this point in the history
* update listview feature flag

* remove check
  • Loading branch information
pkdotson authored and Allan Caetano de Oliveira committed May 21, 2021
1 parent 9028ee4 commit d0860bf
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions superset/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -373,12 +373,6 @@ def _try_json_readsha( # pylint: disable=unused-argument
"ALERTS_ATTACH_REPORTS": True,
}

# Set the default view to card/grid view if thumbnail support is enabled.
# Setting LISTVIEWS_DEFAULT_CARD_VIEW to False will force the default view to
# always be the table layout
if DEFAULT_FEATURE_FLAGS["THUMBNAILS"]:
DEFAULT_FEATURE_FLAGS["LISTVIEWS_DEFAULT_CARD_VIEW"] = True

# Feature flags may also be set via 'SUPERSET_FEATURE_' prefixed environment vars.
DEFAULT_FEATURE_FLAGS.update(
{
Expand Down

0 comments on commit d0860bf

Please sign in to comment.