We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a5b7015 commit e888d7aCopy full SHA for e888d7a
packages/neos-ui-guest-frame/src/InlineUI/NodeToolbar/Buttons/PasteClipBoardNode/index.js
@@ -15,7 +15,7 @@ import {selectors, actions} from '@neos-project/neos-ui-redux-store';
15
16
return (state, {contextPath}) => {
17
const clipboardNodesContextPaths = selectors.CR.Nodes.clipboardNodesContextPathsSelector(state);
18
- const canBePasted = (clipboardNodesContextPaths.every(clipboardNodeContextPath => {
+ const canBePasted = clipboardNodesContextPaths.length && (clipboardNodesContextPaths.every(clipboardNodeContextPath => {
19
return canBePastedSelector(state, {
20
subject: clipboardNodeContextPath,
21
reference: contextPath
0 commit comments