use null instead of undefined
This commit is contained in:
parent
0c2438373d
commit
0b36048f47
@ -16,9 +16,9 @@ const TX = ref<Transaction>({
|
|||||||
Memo: "",
|
Memo: "",
|
||||||
Amount: 0,
|
Amount: 0,
|
||||||
Payee: "",
|
Payee: "",
|
||||||
PayeeID: undefined,
|
PayeeID: null,
|
||||||
Category: "",
|
Category: "",
|
||||||
CategoryID: undefined,
|
CategoryID: null,
|
||||||
CategoryGroup: "",
|
CategoryGroup: "",
|
||||||
GroupID: "",
|
GroupID: "",
|
||||||
ID: "",
|
ID: "",
|
||||||
|
@ -17,12 +17,12 @@ export interface Transaction {
|
|||||||
TransferAccount: string;
|
TransferAccount: string;
|
||||||
CategoryGroup: string;
|
CategoryGroup: string;
|
||||||
Category: string;
|
Category: string;
|
||||||
CategoryID: string | undefined;
|
CategoryID: string | null;
|
||||||
Memo: string;
|
Memo: string;
|
||||||
Status: string;
|
Status: string;
|
||||||
GroupID: string;
|
GroupID: string;
|
||||||
Payee: string;
|
Payee: string;
|
||||||
PayeeID: string | undefined;
|
PayeeID: string | null;
|
||||||
Amount: number;
|
Amount: number;
|
||||||
Reconciled: boolean;
|
Reconciled: boolean;
|
||||||
Account: string;
|
Account: string;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user