year is number

This commit is contained in:
Wolfgang Hottgenroth 2022-02-05 18:05:50 +01:00
parent 5ca2f16757
commit 2a0bda012b

View File

@ -147,7 +147,7 @@ export class AccountComponent implements OnInit {
private async init(): Promise<void> {
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()