mirror of
https://github.com/hcengineering/platform.git
synced 2025-04-13 19:58:09 +00:00
iterate through new values
Signed-off-by: Andrey Platov <andrey@hardcoreeng.com>
This commit is contained in:
parent
9643017591
commit
e9d2f4c4b9
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user