mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-07 07:15:07 +01:00
bugfix
This commit is contained in:
parent
fe00dffb70
commit
e92046a265
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue