Skip to content

Commit

Permalink
chore: sépare ajout dessin et cadastre dans stats matomo
Browse files Browse the repository at this point in the history
Signed-off-by: Maud Royer <hello@maudroyer.fr>
  • Loading branch information
jillro committed Nov 20, 2023
1 parent 2bea815 commit de130a0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/Features/AddFlow.vue
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ async function saveFeature ({ properties }) {
featuresStore.setAll(record.parcelles.features)
showDetailsModal.value = false
statsPush(['trackEvent', 'Parcelles', 'Ajout (sauvegarde)'])
statsPush(['trackEvent', 'Parcelles', 'Ajout par cadastre (sauvegarde)'])
await router.push({
query: { new: record.audit_history.at(-1).parcelleId },
path: props.backLink,
Expand Down
2 changes: 1 addition & 1 deletion src/pages/exploitations/[id]/ajout-parcelle/dessin.vue
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ async function saveFeature ({ properties }) {
featureStore.setAll(record.parcelles.features)
showDetailsModal.value = false
statsPush(['trackEvent', 'Parcelles', 'Ajout (sauvegarde)'])
statsPush(['trackEvent', 'Parcelles', 'Ajout par dessin (sauvegarde)'])
await router.push({
query: { new: record.audit_history.at(-1).parcelleId },
path: permissions.isOc ? `/certification/exploitations/${props.id}` : `/exploitations/${props.id}`,
Expand Down

0 comments on commit de130a0

Please sign in to comment.