From e92046a26546706e89061b6168c113de177fda24 Mon Sep 17 00:00:00 2001 From: jonaswinkler Date: Thu, 7 Jan 2021 00:21:47 +0100 Subject: [PATCH] bugfix --- .../src/app/components/common/input/number/number.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { if (results.count > 0) { this.value = results.results[0].archive_serial_number + 1 } else { - this.value + 1 + this.value = 1 } this.onChange(this.value) }