#7050 testCrudModel #1077

Merged
jtubau merged 11 commits from 7050-testCrudModel into dev 2024-12-26 11:14:16 +00:00
1 changed files with 2 additions and 4 deletions
Showing only changes of commit 77f4949ba6 - Show all commits

View File

@ -270,10 +270,8 @@ function getChanges() {
function isEmpty(obj) {
if (obj == null) return true;
if (obj === undefined) return true;
if (Object.keys(obj).length === 0) return true;
if (obj.length > 0) return false;
if (Array.isArray(obj)) return !obj.length;
return Object.keys(obj).length === 0 ;
jtubau marked this conversation as resolved Outdated

return !Object.keys(obj).length;

**return !Object.keys(obj).length;**
}
async function reload(params) {