Fix compilation warning (#801)

Signed-off-by: Yannick Schaus <github@schaus.net>
pull/803/head
Yannick Schaus 2021-01-13 20:48:13 +01:00 committed by GitHub
parent 49c8fb278f
commit da4bd8d6de
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 4 deletions

View File

@ -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())

View File

@ -10,10 +10,10 @@
<script>
import mixin from '../widget-mixin'
import { OhWebframeDefinition } from '@/assets/definitions/widgets/system'
import { OhWebFrameDefinition } from '@/assets/definitions/widgets/system'
export default {
mixins: [mixin],
widget: OhWebframeDefinition
widget: OhWebFrameDefinition
}
</script>