Fix property initialization.

This commit is contained in:
Alexis Lahouze 2018-06-14 12:03:09 +02:00
parent 161eb42942
commit 2ea1b38454
1 changed files with 2 additions and 2 deletions

View File

@ -75,8 +75,8 @@ import { OperationDeleteModalComponent } from './operationDeleteModal.component'
`
})
export class OperationRowComponent {
@Input('operation-row') operation: Operation;
@Input() account: Account;
@Input('operation-row') operation: Operation = new Operation();
@Input() account: Account = new Account();
constructor(
private operationService: OperationService,