project-booster-vue 10.8.1 → 10.8.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "project-booster-vue",
3
- "version": "10.8.1",
3
+ "version": "10.8.2",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "serve": "vue-cli-service serve",
@@ -226,7 +226,7 @@
226
226
  data-cdl-click-type="cdl_event"
227
227
  :data-cdl-click-data="
228
228
  formatEvent(
229
- { button_name: 'Etape precedente', button_location: payload.viewModel.analytics.funnel_name },
229
+ { button_name: 'Etape precedente', button_location: payload.viewModel.analytics?.funnel_name || '' },
230
230
  EventTypeEnum.BUTTON,
231
231
  )
232
232
  "
@@ -788,8 +788,8 @@ const updateCdlValues = () => {
788
788
 
789
789
  eventData.value = formatEvent(
790
790
  {
791
- field_name: props.payload.viewModel.label || '',
792
- funnel_name: props.payload.viewModel.analytics.funnel_name || '',
791
+ field_name: props.payload.viewModel?.label || '',
792
+ funnel_name: props.payload.viewModel.analytics?.funnel_name || '',
793
793
  field_value: answers || '',
794
794
  },
795
795
  EventTypeEnum.FIELD,