fix: load flyout correctly when switching languages
This commit is contained in:
1 parent
b0f7ea0fe6
commit
2fa0880f90
2 files changed
+44
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user