From bba582875a0cf7abf0171d5937f6b4e1165026ec Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Sun, 27 Nov 2022 00:56:23 +0100 Subject: [PATCH] The `data` attribute on `EntityUpdateEvent` shouldn't be taken into account for flashing updates --- .../http/webapp/src/components/panels/Entities/Entity.vue | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/platypush/backend/http/webapp/src/components/panels/Entities/Entity.vue b/platypush/backend/http/webapp/src/components/panels/Entities/Entity.vue index 4a4257ea0e..2b44f1ba64 100644 --- a/platypush/backend/http/webapp/src/components/panels/Entities/Entity.vue +++ b/platypush/backend/http/webapp/src/components/panels/Entities/Entity.vue @@ -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) }, },