From a482051e2b129c55f127dc6943e7129ed2a9eb5d Mon Sep 17 00:00:00 2001 From: Yannick Schaus Date: Thu, 16 Dec 2021 22:05:55 +0100 Subject: [PATCH] Add missing style parameter to oh-icon (#1233) Fixes #1183. Signed-off-by: Yannick Schaus --- .../web/src/components/widgets/system/oh-icon.vue | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/bundles/org.openhab.ui/web/src/components/widgets/system/oh-icon.vue b/bundles/org.openhab.ui/web/src/components/widgets/system/oh-icon.vue index d78cddf8c..b3546b3f8 100644 --- a/bundles/org.openhab.ui/web/src/components/widgets/system/oh-icon.vue +++ b/bundles/org.openhab.ui/web/src/components/widgets/system/oh-icon.vue @@ -8,13 +8,15 @@ onload="this.classList.remove('no-icon')" onerror="this.classList.add('no-icon')"> + :color="color || ((config) ? config.color : null)" :size="width || height || ((config) ? (config.width || config.height) : null)" + :style="config.style" /> + :vertical-flip="verticalFlip || ((config) ? config.verticalFlip : null)" + :style="config.style" />