diff --git a/web/src/components/TransactionInputRow.vue b/web/src/components/TransactionInputRow.vue index 40db10a..da8fa19 100644 --- a/web/src/components/TransactionInputRow.vue +++ b/web/src/components/TransactionInputRow.vue @@ -16,9 +16,9 @@ const TX = ref({ Memo: "", Amount: 0, Payee: "", - PayeeID: undefined, + PayeeID: null, Category: "", - CategoryID: undefined, + CategoryID: null, CategoryGroup: "", GroupID: "", ID: "", diff --git a/web/src/stores/transactions.ts b/web/src/stores/transactions.ts index cb90112..f2ceb7e 100644 --- a/web/src/stores/transactions.ts +++ b/web/src/stores/transactions.ts @@ -17,12 +17,12 @@ export interface Transaction { TransferAccount: string; CategoryGroup: string; Category: string; - CategoryID: string | undefined; + CategoryID: string | null; Memo: string; Status: string; GroupID: string; Payee: string; - PayeeID: string | undefined; + PayeeID: string | null; Amount: number; Reconciled: boolean; Account: string;