* Fixing parent definition when moving sub-album "Before" other album
This commit is contained in:
MatthieuLP
2021-02-05 18:00:41 +01:00
committed by GitHub
parent b63ecd19bd
commit 86c5611562

View File

@@ -200,6 +200,9 @@ function applyMove(event) {
}
moveRank = 1;
} else if (event.move_info.position == 'before') {
if (moveParent == null) {
moveParent = 0
}
moveRank = 1;
}
moveNode(id, moveRank, moveParent).then(() => {