mirror of
https://github.com/Fabio286/antares.git
synced 2025-06-05 21:59:22 +02:00
fix: wrong position moving elements outside folder
This commit is contained in:
@ -165,7 +165,7 @@ export const useConnectionsStore = defineStore('connections', {
|
|||||||
name: conn.name
|
name: conn.name
|
||||||
});
|
});
|
||||||
|
|
||||||
connIndex = connections.findIndex(conn => conn.uid === el.uid);
|
connIndex = connections.findIndex((conn, i) => conn.uid === el.uid && i !== el.index);
|
||||||
connections.splice(connIndex, 1);// Delete old object
|
connections.splice(connIndex, 1);// Delete old object
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user