We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 81a0a51 commit e0509d7Copy full SHA for e0509d7
1 file changed
src/containers/blocks.jsx
@@ -500,7 +500,8 @@ class Blocks extends React.Component {
500
}
501
502
this.withToolboxUpdates(() => {
503
- this.workspace.toolbox_.setSelectedCategoryById(categoryId);
+ const toolbox = this.workspace.getToolbox();
504
+ toolbox.setSelectedItem(toolbox.getToolboxItemById(categoryId));
505
});
506
507
setBlocks (blocks) {
0 commit comments