diff --git a/src/models/account.ts b/src/models/account.ts index 212bf4ef..a7c332e8 100644 --- a/src/models/account.ts +++ b/src/models/account.ts @@ -48,11 +48,11 @@ export class Account implements AccountInfoResponse { } } - get hidden(): boolean { + public get hidden(): boolean { return !this.visible; } - get subAccounts(): AccountInfoResponse[] | undefined { + public get subAccounts(): AccountInfoResponse[] | undefined { if (typeof(this.childrenAccounts) === 'undefined') { return undefined; } diff --git a/src/models/transaction_category.ts b/src/models/transaction_category.ts index 8123f077..c0058040 100644 --- a/src/models/transaction_category.ts +++ b/src/models/transaction_category.ts @@ -33,11 +33,11 @@ export class TransactionCategory implements TransactionCategoryInfoResponse { } } - get hidden(): boolean { + public get hidden(): boolean { return !this.visible; } - get subCategories(): TransactionCategoryInfoResponse[] | undefined { + public get subCategories(): TransactionCategoryInfoResponse[] | undefined { if (typeof(this.secondaryCategories) === 'undefined') { return undefined; }