mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-15 02:57:09 +01:00
Fix: correct split confirm removal (#9195)
This commit is contained in:
parent
6b7fb286f7
commit
ea911e73c6
1 changed files with 1 additions and 1 deletions
|
|
@ -84,7 +84,7 @@ export class SplitConfirmDialogComponent
|
||||||
addSplit() {
|
addSplit() {
|
||||||
if (this.page === this.totalPages) return
|
if (this.page === this.totalPages) return
|
||||||
this.pages.add(this.page)
|
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
|
this.confirmButtonEnabled = this.pages.size > 0
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue