Skip to content

Commit 25f6f17

Browse files
committed
Track cloud code events
1 parent efd75e2 commit 25f6f17

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/dashboard/Data/CloudCode/B4ACloudCode.react.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ class B4ACloudCode extends CloudCode {
6262
}
6363

6464
async componentWillMount() {
65+
back4AppNavigation && back4AppNavigation.atCloudCodePageEvent()
6566
await this.fetchSource()
6667
// define the parameters to show unsaved changes warning modal
6768
const unbindHook = this.props.router.setRouteLeaveHook(this.props.route, nextLocation => {
@@ -136,6 +137,7 @@ class B4ACloudCode extends CloudCode {
136137
data: { tree },
137138
withCredentials: true
138139
})
140+
back4AppNavigation && back4AppNavigation.deployCloudCodeEvent()
139141
await this.fetchSource()
140142
// force jstree component to upload
141143
await updateTreeContent(this.state.files)

0 commit comments

Comments
 (0)