year is number
This commit is contained in:
parent
5ca2f16757
commit
2a0bda012b
@ -147,7 +147,7 @@ export class AccountComponent implements OnInit {
|
|||||||
|
|
||||||
private async init(): Promise<void> {
|
private async init(): Promise<void> {
|
||||||
let currentDate = new Date()
|
let currentDate = new Date()
|
||||||
let y = currentDate.getFullYear().toString()
|
let y = currentDate.getFullYear()
|
||||||
this.presetFiscalYear = new FormControl(y)
|
this.presetFiscalYear = new FormControl(y)
|
||||||
this.messageService.add(`AccountComponent.init, account: ${this.selectedAccountId}`)
|
this.messageService.add(`AccountComponent.init, account: ${this.selectedAccountId}`)
|
||||||
this.getAccount()
|
this.getAccount()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user