|
|
@ -39,7 +39,7 @@ import { |
|
|
ellipsisHorizontal, |
|
|
ellipsisHorizontal, |
|
|
trashOutline |
|
|
trashOutline |
|
|
} from 'ionicons/icons'; |
|
|
} from 'ionicons/icons'; |
|
|
import { get } from 'lodash'; |
|
|
import { get, isNil } from 'lodash'; |
|
|
|
|
|
|
|
|
import { GfValueComponent } from '../value'; |
|
|
import { GfValueComponent } from '../value'; |
|
|
|
|
|
|
|
|
@ -117,7 +117,7 @@ export class GfAccountBalancesComponent implements OnChanges, OnInit { |
|
|
public async onSubmitAccountBalance() { |
|
|
public async onSubmitAccountBalance() { |
|
|
const { balance, date } = this.accountBalanceForm.value; |
|
|
const { balance, date } = this.accountBalanceForm.value; |
|
|
|
|
|
|
|
|
if (balance === null || balance === undefined || !date) { |
|
|
if (isNil(balance) || !date) { |
|
|
return; |
|
|
return; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|