Skip to content

Commit 8dcefe8

Browse files
committed
fix: Spell error
1 parent cfb488e commit 8dcefe8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ui/src/components/folder-tree/index.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -279,8 +279,8 @@ function addOrderToTree(nodes: any, parentId: string): Node[] {
279279
280280
nodes.forEach((node: any) => {
281281
if (positions[node.id] === undefined) {
282-
const existingPostions: any = Object.values(positions)
283-
const maxPos = existingPostions.length > 0 ? Math.max(...existingPostions) : 0
282+
const existingPositions: any = Object.values(positions)
283+
const maxPos = existingPositions.length > 0 ? Math.max(...existingPositions) : 0
284284
285285
positions[node.id] = maxPos + encode(1, 0)
286286
needSave = true

0 commit comments

Comments
 (0)