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 cfb488e commit 8dcefe8Copy full SHA for 8dcefe8
ui/src/components/folder-tree/index.vue
@@ -279,8 +279,8 @@ function addOrderToTree(nodes: any, parentId: string): Node[] {
279
280
nodes.forEach((node: any) => {
281
if (positions[node.id] === undefined) {
282
- const existingPostions: any = Object.values(positions)
283
- const maxPos = existingPostions.length > 0 ? Math.max(...existingPostions) : 0
+ const existingPositions: any = Object.values(positions)
+ const maxPos = existingPositions.length > 0 ? Math.max(...existingPositions) : 0
284
285
positions[node.id] = maxPos + encode(1, 0)
286
needSave = true
0 commit comments