Skip to content

Commit

Permalink
BUGFIX: fix NodeTreeToolBar
Browse files Browse the repository at this point in the history
  • Loading branch information
dimaip committed Mar 16, 2018
1 parent 3fe49cd commit ad2716c
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,8 @@ export const PageTreeToolbar = withNodeTypesRegistry(connect(
destructiveOperationsAreDisabled,
isAllowedToAddChildOrSiblingNodes,
isCut,
isCopied
isCopied,
treeType: 'DocumentTree'
};
};
}, {
Expand All @@ -270,8 +271,7 @@ export const PageTreeToolbar = withNodeTypesRegistry(connect(
hideNode: actions.CR.Nodes.hide,
showNode: actions.CR.Nodes.show,
pasteNode: actions.CR.Nodes.paste,
reloadTree: actions.CR.Nodes.reloadState,
treeType: 'DocumentTree'
reloadTree: actions.CR.Nodes.reloadState
}
)(NodeTreeToolBar));

Expand Down

0 comments on commit ad2716c

Please sign in to comment.