|
|
@@ -25,6 +25,11 @@ class DashboardDesignerContent extends React.Component {
|
|
|
|
|
|
componentDidMount() {
|
|
|
// this.refreshContentSize();
|
|
|
+ const { dashboardDesigner } = this.props;
|
|
|
+ const { filters } = dashboardDesigner;
|
|
|
+ this.setState({
|
|
|
+ closeFilters: filters.length > 6
|
|
|
+ });
|
|
|
window.addEventListener("resize", this.refreshContentSize);
|
|
|
}
|
|
|
|