Skip to content

Commit 069027e

Browse files
committed
Do not copy!!!
Signed-off-by: Cédric Foellmi <cedric@onekiloparsec.dev>
1 parent 814dada commit 069027e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/power-tree.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -214,8 +214,8 @@ export default {
214214
const enableShiftSelection = shiftKeyIsPressed && this.lastSelectedNode
215215
addToSelection = (multiselectKeyIsPressed || addToSelection) && this.allowMultiselect
216216

217-
const newNodes = this.copy(this.currentValue)
218-
// const newSelectedNodes = this.getSelected(newNodes)
217+
// const newNodes = this.copy(this.currentValue)
218+
const newNodes = this.currentValue
219219

220220
const selectedNodes = []
221221
let shiftSelectionStarted = false

0 commit comments

Comments
 (0)