Merge pull request #4844 from MaximilianKrambach/sortList
fixing multiselect sort in sorting lists
This commit is contained in:
commit
51130da791
@ -188,7 +188,9 @@ export class SortingListComponent implements OnInit, OnDestroy {
|
|||||||
} else if (dropBehind === true) {
|
} else if (dropBehind === true) {
|
||||||
before.push(this.array[i]);
|
before.push(this.array[i]);
|
||||||
} else {
|
} else {
|
||||||
event.currentIndex < 1 ? behind.push(this.array[i]) : before.push(this.array[i]);
|
Math.min(...this.multiSelectedIndex) < i
|
||||||
|
? before.push(this.array[i])
|
||||||
|
: behind.push(this.array[i]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user