Skip to content

Commit

Permalink
fix: Dynamic loading of camera components (#1479)
Browse files Browse the repository at this point in the history
Signed-off-by: Pedro Lamas <[email protected]>
  • Loading branch information
pedrolamas authored Aug 14, 2024
1 parent e26a41e commit e6ac387
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/widgets/camera/CameraItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit e6ac387

Please sign in to comment.