diff --git a/src/components/menubars/OEditorMenuBar.vue b/src/components/menubars/OEditorMenuBar.vue index 22a4b8d..f066e70 100644 --- a/src/components/menubars/OEditorMenuBar.vue +++ b/src/components/menubars/OEditorMenuBar.vue @@ -20,7 +20,7 @@ :opt="item.options" :editor="editor" v-bind="editorContext" - v-else-if="typeof item === 'object' && typeof item.name === 'string'" /> + v-else-if="typeof item === 'object' && item.type === 'menu'" /> + v-else-if="typeof item === 'object' && item.type === 'menu'" />