From b885158e07b403f8a6ba85a06469987bbd3c72a4 Mon Sep 17 00:00:00 2001 From: J-N-K Date: Fri, 10 Mar 2023 14:57:53 +0100 Subject: [PATCH] Fix channel-details not shown (#1785) Fixes #1784. Also-by: Florian Hotze Signed-off-by: Jan N. Klug --- .../web/src/pages/settings/things/channel/channel-edit.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bundles/org.openhab.ui/web/src/pages/settings/things/channel/channel-edit.vue b/bundles/org.openhab.ui/web/src/pages/settings/things/channel/channel-edit.vue index ad94a0b9b..afd4b9755 100644 --- a/bundles/org.openhab.ui/web/src/pages/settings/things/channel/channel-edit.vue +++ b/bundles/org.openhab.ui/web/src/pages/settings/things/channel/channel-edit.vue @@ -57,8 +57,9 @@ export default { this.configDescription = ct this.ready = true }).catch((err) => { - if (err === 404) { + if (err === 'Not Found' || err === 404) { this.noConfig = true + this.ready = true } }) },