diff --git a/src-ui/src/app/components/common/confirm-dialog/split-confirm-dialog/split-confirm-dialog.component.ts b/src-ui/src/app/components/common/confirm-dialog/split-confirm-dialog/split-confirm-dialog.component.ts index 785f2f3d4..437418367 100644 --- a/src-ui/src/app/components/common/confirm-dialog/split-confirm-dialog/split-confirm-dialog.component.ts +++ b/src-ui/src/app/components/common/confirm-dialog/split-confirm-dialog/split-confirm-dialog.component.ts @@ -84,7 +84,7 @@ export class SplitConfirmDialogComponent addSplit() { if (this.page === this.totalPages) return this.pages.add(this.page) - this.pages = new Set(Array.from(this.pages).sort()) + this.pages = new Set(Array.from(this.pages).sort((a, b) => a - b)) this.confirmButtonEnabled = this.pages.size > 0 }