From ca7c89949b4ebb8c50c3b7513651b56ecf3183ce Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Mon, 20 Nov 2023 19:27:06 +0100 Subject: [PATCH] Only react on `NewWeatherConditionEvent` if `plugin_name` is compatible. --- .../http/webapp/src/components/widgets/Weather/Index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platypush/backend/http/webapp/src/components/widgets/Weather/Index.vue b/platypush/backend/http/webapp/src/components/widgets/Weather/Index.vue index f726aca331..5dad29bc1a 100644 --- a/platypush/backend/http/webapp/src/components/widgets/Weather/Index.vue +++ b/platypush/backend/http/webapp/src/components/widgets/Weather/Index.vue @@ -116,7 +116,7 @@ export default { }, onWeatherChange(event) { - if (!this.weather) + if (!(this.weather && event && this.weatherPlugins.includes(event.plugin_name))) this.weather = {} this.weather = {...this.weather, ...event}