The data attribute on EntityUpdateEvent shouldn't be taken into account for flashing updates

This commit is contained in:
Fabio Manganiello 2022-11-27 00:56:23 +01:00
parent e8d6717fcb
commit bba582875a
Signed by untrusted user: blacklight
GPG key ID: D90FBA7F76362774

View file

@ -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)
},
},