fixing multiselect sort in sorting lists
This commit is contained in:
parent
af538436e3
commit
e199926451
@ -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