Skip to content

Commit

Permalink
docs(sanity): clarify unarchive / archive telemetry track
Browse files Browse the repository at this point in the history
  • Loading branch information
RitaDias committed Sep 4, 2024
1 parent 98f2e7d commit b3b64cf
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,10 @@ export const BundleMenuButton = ({disabled, bundle, documentCount}: BundleMenuBu
})

if (isBundleArchived) {
// it's in the process of becoming false, so the event we want to track is unarchive
telemetry.log(UnarchivedRelease)
} else {
// it's in the process of becoming true, so the event we want to track is archive
telemetry.log(ArchivedRelease)
}
setIsPerformingOperation(false)
Expand Down

0 comments on commit b3b64cf

Please sign in to comment.