fix: load flyout correctly when switching languages

This commit is contained in:
Andy O'Neill committed 2023-01-03 14:46:12 -05:00
1 parent b0f7ea0fe6
commit 2fa0880f90
2 files changed
+44

No files matched your search

+3
View File
@@ -191,6 +191,9 @@ class Blocks extends React.Component {
this.detachVM();
this.workspace.dispose();
clearTimeout(this.toolboxUpdateTimeout);
// Clear the flyout blocks so that they can be recreated on mount.
this.props.vm.clearFlyoutBlocks();
}
requestToolboxUpdate () {
clearTimeout(this.toolboxUpdateTimeout);