mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-20 01:34:24 +08:00
hide hidden sub-account
This commit is contained in:
@@ -91,6 +91,11 @@ export const useAccountsStore = defineStore('accounts', () => {
|
|||||||
if (account.subAccounts) {
|
if (account.subAccounts) {
|
||||||
for (let j = 0; j < account.subAccounts.length; j++) {
|
for (let j = 0; j < account.subAccounts.length; j++) {
|
||||||
const subAccount = account.subAccounts[j];
|
const subAccount = account.subAccounts[j];
|
||||||
|
|
||||||
|
if (subAccount.hidden) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
allVisibleAccounts.push(subAccount);
|
allVisibleAccounts.push(subAccount);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user