8389-testToMaster #1207

Merged
alexm merged 180 commits from 8389-testToMaster into master 2025-01-14 06:32:35 +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 ;
}
async function reload(params) {