From 159f6a5eee6ddb8003a6b2efde1c1d8207c4d6f6 Mon Sep 17 00:00:00 2001 From: Sassan Haradji Date: Wed, 29 Jan 2025 13:03:22 +0400 Subject: [PATCH] fix(core): an issue where a tuple of lists where passed as active_inputs instead of a list due to an unwanted comma - closes #212 --- CHANGELOG.md | 1 + ubo_app/services/090-web-ui/reducer.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c6152cf..3dd6603 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -19,6 +19,7 @@ - docs: update development documentation - feat(web-ui): automatically run the wifi creation procedure when there is no ssid saved in the network manager and no default gateway is set - closes #214 - feat(web-ui): use captive portal in the hotspot started by web-ui - closes #211 +- fix(core): an issue where a tuple of lists where passed as active_inputs instead of a list due to an unwanted comma - closes #212 ## Version 1.1.0 diff --git a/ubo_app/services/090-web-ui/reducer.py b/ubo_app/services/090-web-ui/reducer.py index 9e4f104..c713da2 100644 --- a/ubo_app/services/090-web-ui/reducer.py +++ b/ubo_app/services/090-web-ui/reducer.py @@ -61,7 +61,7 @@ def reducer( description for description in state.active_inputs if description.id != action.id - ], + ] ), ), actions=[NotificationsClearByIdAction(id=f'web_ui:pending:{action.id}')],