From 57749b4127c1de7a5ca637c16c5888e6890f59f2 Mon Sep 17 00:00:00 2001 From: Florian Hotze Date: Tue, 2 Jul 2024 00:35:50 +0200 Subject: [PATCH] Do not request icon with state for Image Items (#2638) Fixes #2561. Fixes #2637. Signed-off-by: Florian Hotze --- bundles/org.openhab.ui/web/src/components/item/item-form.vue | 2 +- bundles/org.openhab.ui/web/src/components/item/item.vue | 2 +- .../org.openhab.ui/web/src/components/thing/channel-link.vue | 2 +- .../web/src/pages/settings/items/item-details.vue | 2 +- .../web/src/pages/settings/items/items-list-vlist.vue | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/bundles/org.openhab.ui/web/src/components/item/item-form.vue b/bundles/org.openhab.ui/web/src/components/item/item-form.vue index 0159e5e7ae..525e0158f9 100644 --- a/bundles/org.openhab.ui/web/src/components/item/item-form.vue +++ b/bundles/org.openhab.ui/web/src/components/item/item-form.vue @@ -53,7 +53,7 @@
- +
diff --git a/bundles/org.openhab.ui/web/src/components/item/item.vue b/bundles/org.openhab.ui/web/src/components/item/item.vue index 40c21f80fa..b0a17d9ea1 100644 --- a/bundles/org.openhab.ui/web/src/components/item/item.vue +++ b/bundles/org.openhab.ui/web/src/components/item/item.vue @@ -8,7 +8,7 @@ :subtitle="noType ? '' : getItemTypeAndMetaLabel(item)" :after="state" v-on="$listeners"> - + {{ item.name[0] }} diff --git a/bundles/org.openhab.ui/web/src/components/thing/channel-link.vue b/bundles/org.openhab.ui/web/src/components/thing/channel-link.vue index 013d6f72e2..a2b2c69ab3 100644 --- a/bundles/org.openhab.ui/web/src/components/thing/channel-link.vue +++ b/bundles/org.openhab.ui/web/src/components/thing/channel-link.vue @@ -34,7 +34,7 @@ :footer="(link.item.label) ? link.item.name : '\xa0'" :subtitle="getItemTypeAndMetaLabel(link.item)" :after="context.store[link.item.name] ? context.store[link.item.name].displayState || context.store[link.item.name].state : link.item.state"> - + {{ link.item.name[0] }} diff --git a/bundles/org.openhab.ui/web/src/pages/settings/items/item-details.vue b/bundles/org.openhab.ui/web/src/pages/settings/items/item-details.vue index fc2439f2fd..9e48c06661 100644 --- a/bundles/org.openhab.ui/web/src/pages/settings/items/item-details.vue +++ b/bundles/org.openhab.ui/web/src/pages/settings/items/item-details.vue @@ -11,7 +11,7 @@
- + {{ item.label ? item.label[0] : item.name[0] }} diff --git a/bundles/org.openhab.ui/web/src/pages/settings/items/items-list-vlist.vue b/bundles/org.openhab.ui/web/src/pages/settings/items/items-list-vlist.vue index 7e075494e2..a1478b49ec 100644 --- a/bundles/org.openhab.ui/web/src/pages/settings/items/items-list-vlist.vue +++ b/bundles/org.openhab.ui/web/src/pages/settings/items/items-list-vlist.vue @@ -84,7 +84,7 @@ :style="`top: ${vlData.topPosition}px`" :after="(item.state) ? item.state : '\xa0'"> - + {{ item.name[0] }}