mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-15 23:47:33 +08:00
code refactor
This commit is contained in:
@@ -37,7 +37,7 @@ export class TransactionCategory implements TransactionCategoryInfoResponse {
|
||||
}
|
||||
|
||||
get subCategories(): TransactionCategoryInfoResponse[] | undefined {
|
||||
if (typeof this.secondaryCategories === 'undefined') {
|
||||
if (typeof(this.secondaryCategories) === 'undefined') {
|
||||
return undefined;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user