Skip to content

Commit

Permalink
addressing comments
Browse files Browse the repository at this point in the history
  • Loading branch information
zhaoyongjie committed Jul 8, 2022
1 parent f64baf8 commit b6102c5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions superset/utils/migrate_viz.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,11 +121,11 @@ def _pre_action(self) -> None:
self.data["contributionMode"] = "row"

stacked = self.data.get("stacked_style")
stacked_map = {
"expand": "Expand",
"stack": "Stack",
}
if stacked:
stacked_map = {
"expand": "Expand",
"stack": "Stack",
}
self.data["show_extra_controls"] = True
self.data["stack"] = stacked_map.get(stacked)

Expand Down

0 comments on commit b6102c5

Please sign in to comment.