Skip to content

Commit

Permalink
Update to use new dataTracker API
Browse files Browse the repository at this point in the history
  • Loading branch information
joepavitt committed Jul 30, 2024
1 parent edd845e commit 37b8656
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions ui/src/widgets/ui-template/UITemplate.vue
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ export default {
...component?.methods
},
created () {
useDataTracker(props.id)
this.$dataTracker(props.id)
if (component?.beforeCreate) {
// run any generic JS code user has defined outisde of a VueJS component
Expand All @@ -190,9 +190,6 @@ export default {
props: props.props
})
},
created () {
this.$dataTracker(this.id)
},
errorCaptured: (err, vm, info) => {
console.error('errorCaptured', err, vm, info)
return false
Expand Down

0 comments on commit 37b8656

Please sign in to comment.