diff --git a/packages/editor-ui/src/components/NodeCreator/ItemIterator.vue b/packages/editor-ui/src/components/NodeCreator/ItemIterator.vue index 7cf00057ef..e7a8774408 100644 --- a/packages/editor-ui/src/components/NodeCreator/ItemIterator.vue +++ b/packages/editor-ui/src/components/NodeCreator/ItemIterator.vue @@ -8,7 +8,7 @@ @before-leave="beforeLeave" @leave="leave" > -
+
{ return !HIDDEN_NODES.includes(nodeType.name); }); @@ -73,6 +81,13 @@ export default Vue.extend({ this.$emit('nodeTypeSelected', nodeTypeName); }, }, + watch: { + nodeTypes(newList, prevList) { + if (prevList.length === 0) { + this.allNodeTypes = newList; + } + }, + }, });