From 5aa37508074a051872e1b54ce9205909f7e57874 Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Sun, 1 May 2022 15:34:45 +0200 Subject: [PATCH] Re-sync the list of entities when the entities component is mounted --- .../http/webapp/src/components/panels/Entities/Index.vue | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/platypush/backend/http/webapp/src/components/panels/Entities/Index.vue b/platypush/backend/http/webapp/src/components/panels/Entities/Index.vue index 662b87651..9f1d03b56 100644 --- a/platypush/backend/http/webapp/src/components/panels/Entities/Index.vue +++ b/platypush/backend/http/webapp/src/components/panels/Entities/Index.vue @@ -277,7 +277,7 @@ export default { }, }, - mounted() { + async mounted() { this.subscribe( this.onEntityUpdate, 'on-entity-update', @@ -290,7 +290,8 @@ export default { 'platypush.message.event.entities.EntityDeleteEvent' ) - this.sync() + await this.sync() + await this.refresh() }, }