Commit aa781711 authored by Steffen Vogel's avatar Steffen Vogel 🎅🏼
Browse files

whitespace cleanups

parent a609d540
......@@ -81,8 +81,7 @@ class Visualization extends React.Component {
modalIndex: prevState.modalIndex || null,
maxWidgetHeight: prevState.maxWidgetHeight || 0,
dropZoneHeight: prevState.dropZoneHeight || 0,
last_widget_key: prevState.last_widget_key || 0
dropZoneHeight: prevState.dropZoneHeight || 0
};
}
......@@ -169,7 +168,7 @@ class Visualization extends React.Component {
// convert widgets list to a dictionary
var visualization = Object.assign({}, tempVisualization, {
widgets: tempVisualization.widgets? this.transformToWidgetsDict(tempVisualization.widgets) : {}
widgets: tempVisualization.widgets ? this.transformToWidgetsDict(tempVisualization.widgets) : {}
});
this.computeHeightWithWidgets(visualization.widgets);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment