Skip to content

Commit 42e3371

Browse files
Merge pull request #931 from Codeinwp/bugfix/930
Fix block back button issue
2 parents 1aa78e3 + ce3119f commit 42e3371

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

classes/Visualizer/Gutenberg/build/block.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

classes/Visualizer/Gutenberg/src/Editor.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -581,7 +581,7 @@ class Editor extends Component {
581581
} else if ( 'chartSelect' === this.state.route ) {
582582
route = 'showCharts';
583583
}
584-
this.setState({ route });
584+
this.setState({ route, isLoading: false });
585585
this.props.setAttributes({ route });
586586
} }
587587
>

0 commit comments

Comments
 (0)