From 894faaad1e828df5bb6d870b75bc277934f83436 Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Sun, 10 Dec 2023 21:53:19 +0100 Subject: [PATCH] [#340] Force a refresh via `alarm.status` when `Alarm` view loads. --- .../backend/http/webapp/src/components/panels/Alarm/Index.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/platypush/backend/http/webapp/src/components/panels/Alarm/Index.vue b/platypush/backend/http/webapp/src/components/panels/Alarm/Index.vue index 19ca05b8a..60eee8ae1 100644 --- a/platypush/backend/http/webapp/src/components/panels/Alarm/Index.vue +++ b/platypush/backend/http/webapp/src/components/panels/Alarm/Index.vue @@ -77,6 +77,7 @@ export default { async refresh() { this.$emit('loading', true) try { + await this.request('alarm.status'); (await this.request('entities.get', {plugins: [this.pluginName]})).forEach( entity => this.addAlarm(entity) )