Skip to content

Commit

Permalink
fix: Dynamic loading of camera components
Browse files Browse the repository at this point in the history
Signed-off-by: Pedro Lamas <[email protected]>
  • Loading branch information
pedrolamas committed Aug 14, 2024
1 parent e26a41e commit ff8e9e6
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 ff8e9e6

Please sign in to comment.