Skip to content

Commit

Permalink
Small bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
a-ignatov-parc committed Mar 6, 2017
1 parent eacbb2d commit 788ebea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/render/document.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export function vdomToDocument(vdom, payload) {
if (menuItem) {
const menuItemDocument = menuBar.getDocument(menuItem);

if (menuItemDocument) {
if (menuItemDocument && menuItemDocument.updateComponent) {
menuItemDocument.updateComponent(payload);
return menuItemDocument;
}
Expand Down

0 comments on commit 788ebea

Please sign in to comment.