@zeniai/client-epic-state 4.19.43-betaAR5 → 4.19.43-betaAR6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -123,8 +123,8 @@ export declare const getAccountIdsForLabels: (accountState: AccountState, labels
|
|
|
123
123
|
*/
|
|
124
124
|
export declare const getAllAccounts: (accountState: AccountState) => Account[];
|
|
125
125
|
export interface AccountFilterOption {
|
|
126
|
-
|
|
127
|
-
|
|
126
|
+
accountId: ID;
|
|
127
|
+
accountName: string;
|
|
128
128
|
}
|
|
129
129
|
/**
|
|
130
130
|
* Partitions accounts for transaction filter dropdowns: bank/credit_card → paymentAccountNames,
|
|
@@ -207,8 +207,8 @@ const getTransactionFilterAccountOptions = (accountState) => {
|
|
|
207
207
|
const categoryOptions = [];
|
|
208
208
|
for (const account of accounts) {
|
|
209
209
|
const option = {
|
|
210
|
-
|
|
211
|
-
|
|
210
|
+
accountId: account.accountId,
|
|
211
|
+
accountName: account.accountName,
|
|
212
212
|
};
|
|
213
213
|
if ((0, accountState_1.isPaymentAccountType)(account.accountType)) {
|
|
214
214
|
paymentAccountNames.push(option);
|
|
@@ -193,8 +193,8 @@ export const getTransactionFilterAccountOptions = (accountState) => {
|
|
|
193
193
|
const categoryOptions = [];
|
|
194
194
|
for (const account of accounts) {
|
|
195
195
|
const option = {
|
|
196
|
-
|
|
197
|
-
|
|
196
|
+
accountId: account.accountId,
|
|
197
|
+
accountName: account.accountName,
|
|
198
198
|
};
|
|
199
199
|
if (isPaymentAccountType(account.accountType)) {
|
|
200
200
|
paymentAccountNames.push(option);
|