We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bbbae97 commit cafa525Copy full SHA for cafa525
src/internal-plugins/home/lib/component/home.jsx
@@ -72,7 +72,9 @@ class Home extends React.Component {
72
73
collapseSidebar() {
74
this.setState({ collapsed: !this.state.collapsed });
75
- setTimeout(this.SchemaActions.resizeMiniCharts, COMPASS_SIDEBAR_TRANSITION_TIME_MS);
+ if (this.SchemaActions) {
76
+ setTimeout(this.SchemaActions.resizeMiniCharts, COMPASS_SIDEBAR_TRANSITION_TIME_MS);
77
+ }
78
79
// Probably would prefer an onChartsActivated lifecycle method here...
80
const ChartActions = app.appRegistry.getAction('Chart.Actions');
0 commit comments