use the account / transaction category filter of the statistics page when navigating from the statistics page to the transaction list page

This commit is contained in:
MaysWind
2024-07-07 14:22:03 +08:00
parent dad3f1041e
commit d0e8419b2e
4 changed files with 91 additions and 1 deletions
+16
View File
@@ -91,6 +91,22 @@ export function isEquals(obj1, obj2) {
}
}
export function isObjectEmpty(obj) {
if (!obj) {
return true;
}
for (let field in obj) {
if (!Object.prototype.hasOwnProperty.call(obj, field)) {
continue;
}
return false;
}
return true;
}
export function getObjectOwnFieldCount(object) {
let count = 0;