Skip to content

Commit 361187c

Browse files
gonfunkosebjacobs
authored andcommitted
fix: select extension categories when added (#8)
1 parent c7ccdfd commit 361187c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/containers/blocks.jsx

+2-1
Original file line numberDiff line numberDiff line change
@@ -500,7 +500,8 @@ class Blocks extends React.Component {
500500
}
501501

502502
this.withToolboxUpdates(() => {
503-
this.workspace.toolbox_.setSelectedCategoryById(categoryId);
503+
const toolbox = this.workspace.getToolbox();
504+
toolbox.setSelectedItem(toolbox.getToolboxItemById(categoryId));
504505
});
505506
}
506507
setBlocks (blocks) {

0 commit comments

Comments
 (0)