From 13f147a35722e5a4afca42ea2da87812697d1215 Mon Sep 17 00:00:00 2001 From: Yannick Schaus Date: Wed, 13 Jan 2021 20:48:13 +0100 Subject: [PATCH] Fix compilation warning (#801) Signed-off-by: Yannick Schaus --- .../web/src/assets/definitions/widgets/system/index.js | 8 ++++++-- .../web/src/components/widgets/system/oh-webframe.vue | 4 ++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/bundles/org.openhab.ui/web/src/assets/definitions/widgets/system/index.js b/bundles/org.openhab.ui/web/src/assets/definitions/widgets/system/index.js index 3ef8c07af..f4e8f850c 100644 --- a/bundles/org.openhab.ui/web/src/assets/definitions/widgets/system/index.js +++ b/bundles/org.openhab.ui/web/src/assets/definitions/widgets/system/index.js @@ -29,8 +29,8 @@ export const OhImageDefinition = () => new WidgetDefinition('oh-image', 'Image', import VideoParameters from './video' export const OhVideoDefinition = () => new WidgetDefinition('oh-video', 'Video', 'Displays a video player from a URL or an item') - .paramGroup(actionGroup(), actionParams()) - .params(VideoParameters()) + .paramGroup(actionGroup(), actionParams()) + .params(VideoParameters()) import InputParameters from './input' export const OhInputDefinition = () => new WidgetDefinition('oh-input', 'Input', 'Displays an input field, used to set a variable') @@ -77,6 +77,10 @@ import TrendParameters from './trend' export const OhTrendDefinition = () => new WidgetDefinition('oh-trend', 'Trend line', 'Trend line to display the overall recent evoluation of an item') .params(TrendParameters()) +import WebFrameParameters from './webframe' +export const OhWebFrameDefinition = () => new WidgetDefinition('oh-webframe', 'Web frame', 'Displays a web page in a frame') + .params(WebFrameParameters()) + import RepeaterParameters from './repeater' export const OhRepeaterDefinition = () => new WidgetDefinition('oh-repeater', 'Repeater', 'Iterate over an array and repeat the children components in the default slot') .params(RepeaterParameters()) diff --git a/bundles/org.openhab.ui/web/src/components/widgets/system/oh-webframe.vue b/bundles/org.openhab.ui/web/src/components/widgets/system/oh-webframe.vue index fc09bb5e1..4cb17663d 100644 --- a/bundles/org.openhab.ui/web/src/components/widgets/system/oh-webframe.vue +++ b/bundles/org.openhab.ui/web/src/components/widgets/system/oh-webframe.vue @@ -10,10 +10,10 @@