From c53fc240cf55bf12a8e433e05df0b0d9cc62d90a Mon Sep 17 00:00:00 2001 From: "Brian R. Bondy" Date: Thu, 21 Sep 2017 19:39:59 -0400 Subject: [PATCH] Fix drag bookmark into folder Fix #11040 Auditors: @NejcZdovc --- app/renderer/components/bookmarks/bookmarksToolbar.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/renderer/components/bookmarks/bookmarksToolbar.js b/app/renderer/components/bookmarks/bookmarksToolbar.js index 0e56235564e..dcfc9e8f2ca 100644 --- a/app/renderer/components/bookmarks/bookmarksToolbar.js +++ b/app/renderer/components/bookmarks/bookmarksToolbar.js @@ -60,7 +60,7 @@ class BookmarksToolbar extends React.Component { if (droppedOn.selectedRef) { const isLeftSide = dnd.isLeftSide(ReactDOM.findDOMNode(droppedOn.selectedRef), e.clientX) const droppedOnKey = droppedOn.selectedRef.props.bookmarkKey - const isDestinationParent = droppedOn.selectedRef.props.isFolder && droppedOn && droppedOn.isDroppedOn + const isDestinationParent = droppedOn.selectedRef.state.isFolder && droppedOn && droppedOn.isDroppedOn appActions.moveSite(bookmark.get('bookmarkKey'), droppedOnKey, isLeftSide, isDestinationParent) dnd.onDragEnd() }