From 6ba92932eea9a894576025fd03ccb95a636e7ace Mon Sep 17 00:00:00 2001 From: Florian Hotze Date: Tue, 5 Sep 2023 21:00:45 +0200 Subject: [PATCH] oh-colorpicker: Fix command not sent when state null & style not accepted & cosmetic error on missing defaultColor (#1989) Fixes #1713. - Fix command not sent when current Item state is null. - Fix style can not be set. - Fix a (cosmetic) error thrown when defaultColor has no value. --------- Signed-off-by: Florian Hotze --- .../widgets/system/oh-colorpicker.vue | 29 ++++++++++++------- 1 file changed, 19 insertions(+), 10 deletions(-) diff --git a/bundles/org.openhab.ui/web/src/components/widgets/system/oh-colorpicker.vue b/bundles/org.openhab.ui/web/src/components/widgets/system/oh-colorpicker.vue index 352bcda514..2af8f4e23d 100644 --- a/bundles/org.openhab.ui/web/src/components/widgets/system/oh-colorpicker.vue +++ b/bundles/org.openhab.ui/web/src/components/widgets/system/oh-colorpicker.vue @@ -1,11 +1,13 @@