[FWA-3] completed update Profile

This commit is contained in:
2024-06-11 12:28:02 +00:00
parent 0ea7ba1a39
commit 3fed0650c9
17 changed files with 246 additions and 105 deletions

View File

@ -47,4 +47,13 @@ export class Helpers {
? JSON.parse(AES.decrypt(hash, SECRET_KEY).toString(enc.Utf8))
: defaultValue
}
static clearObject = (object) => {
for (var propName in object) {
if (object[propName] === null || object[propName] === undefined) {
delete object[propName]
}
}
return object
}
}