Fix: correct split confirm removal (#9195)

This commit is contained in:
shamoon
2025-02-22 07:27:44 -08:00
committed by GitHub
parent 6b7fb286f7
commit ea911e73c6

View File

@@ -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
}