Skip to content

A community-supported supercharged document management system: scan, index and archive all your documents

bugfix

jonaswinklere92046a26546
diff --git a/src-ui/src/app/components/common/input/number/number.component.ts b/src-ui/src/app/components/common/input/number/number.component.ts
index cdc52344d..2d28a7801 100644
--- a/src-ui/src/app/components/common/input/number/number.component.ts
+++ b/src-ui/src/app/components/common/input/number/number.component.ts
@@ -29,7 +29,7 @@ export class NumberComponent extends AbstractInputComponent<number> {
if (results.count > 0) {
this.value = results.results[0].archive_serial_number + 1
} else {
- this.value + 1
+ this.value = 1
}
this.onChange(this.value)
}