iterate through new values

Signed-off-by: Andrey Platov <andrey@hardcoreeng.com>
This commit is contained in:
Andrey Platov 2021-09-09 13:13:00 +02:00
parent 9643017591
commit e9d2f4c4b9
No known key found for this signature in database
GPG Key ID: C8787EFEB4B64AF0

View File

@ -75,7 +75,7 @@
let changed = false let changed = false
function isChanged(): void { function isChanged(): void {
for (const key in object) { for (const key in newValue) {
if (!equals((newValue as any)[key], (object as any)[key])) { if (!equals((newValue as any)[key], (object as any)[key])) {
changed = true changed = true
return return