mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-09-05 02:06:20 +00:00
bugfix
This commit is contained in:
@@ -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)
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user