diff --git a/bundles/org.openhab.ui/web/src/components/config/config-parameter.vue b/bundles/org.openhab.ui/web/src/components/config/config-parameter.vue
index 2a1c4e7846..65aabb2596 100644
--- a/bundles/org.openhab.ui/web/src/components/config/config-parameter.vue
+++ b/bundles/org.openhab.ui/web/src/components/config/config-parameter.vue
@@ -10,7 +10,7 @@
Status Code: {{ status.statusCode }}
{{ status.message }}
-
+
@@ -94,6 +94,13 @@ export default {
return ParameterQrcode
}
return ParameterText
+ },
+ description () {
+ // TODO: Remove this when proper UoM support is implemented for config parameters
+ // Adds the unit to the description if it is available, UoM support is currently implemented through number parameters
+ // where the user can enter the amount for the default unit
+ if (this.configDescription.unit) return `${this.configDescription.description} (${this.configDescription.unit})`
+ return this.configDescription.description
}
},
mounted () {