From 2a0bda012b3798a78a3bc435e076b18b66191a91 Mon Sep 17 00:00:00 2001 From: Wolfgang Hottgenroth Date: Sat, 5 Feb 2022 18:05:50 +0100 Subject: [PATCH] year is number --- ui/hv2-ui/src/app/account/account.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/hv2-ui/src/app/account/account.component.ts b/ui/hv2-ui/src/app/account/account.component.ts index 16912ac..ba9333b 100644 --- a/ui/hv2-ui/src/app/account/account.component.ts +++ b/ui/hv2-ui/src/app/account/account.component.ts @@ -147,7 +147,7 @@ export class AccountComponent implements OnInit { private async init(): Promise { let currentDate = new Date() - let y = currentDate.getFullYear().toString() + let y = currentDate.getFullYear() this.presetFiscalYear = new FormControl(y) this.messageService.add(`AccountComponent.init, account: ${this.selectedAccountId}`) this.getAccount()