mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-04-02 13:45:10 -05:00
bugfix
This commit is contained in:
parent
fe00dffb70
commit
e92046a265
@ -29,7 +29,7 @@ export class NumberComponent extends AbstractInputComponent<number> {
|
|||||||
if (results.count > 0) {
|
if (results.count > 0) {
|
||||||
this.value = results.results[0].archive_serial_number + 1
|
this.value = results.results[0].archive_serial_number + 1
|
||||||
} else {
|
} else {
|
||||||
this.value + 1
|
this.value = 1
|
||||||
}
|
}
|
||||||
this.onChange(this.value)
|
this.onChange(this.value)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user