forked from platypush/platypush
The data
attribute on EntityUpdateEvent
shouldn't be taken into account for flashing updates
This commit is contained in:
parent
e8d6717fcb
commit
bba582875a
1 changed files with 5 additions and 2 deletions
|
@ -30,8 +30,11 @@ export default {
|
|||
valuesEqual(a, b) {
|
||||
a = {...a}
|
||||
b = {...b}
|
||||
delete a.updated_at
|
||||
delete b.updated_at
|
||||
for (const key of ['updated_at', 'data']) {
|
||||
delete a[key]
|
||||
delete b[key]
|
||||
}
|
||||
|
||||
return this.objectsEqual(a, b)
|
||||
},
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue