From ff8e9e622f8b623e6a78d8eef570dedcf3906a91 Mon Sep 17 00:00:00 2001 From: Pedro Lamas Date: Wed, 14 Aug 2024 20:49:52 +0100 Subject: [PATCH] fix: Dynamic loading of camera components Signed-off-by: Pedro Lamas --- src/components/widgets/camera/CameraItem.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/widgets/camera/CameraItem.vue b/src/components/widgets/camera/CameraItem.vue index f1da5e7763..e2adf09b7c 100644 --- a/src/components/widgets/camera/CameraItem.vue +++ b/src/components/widgets/camera/CameraItem.vue @@ -116,7 +116,7 @@ export default class CameraItem extends Vue { get cameraComponent () { if (this.camera.service) { - const componentName = `${this.$filters.prettyCase(this.camera.service).replace(/ /g, '')}Camera` + const componentName = `${this.$filters.startCase(this.camera.service).replace(/ /g, '')}Camera` if (componentName in CameraComponents) { return CameraComponents[componentName]