diff --git a/satellite/analytics/service.go b/satellite/analytics/service.go index b2449fc5f..726adf502 100644 --- a/satellite/analytics/service.go +++ b/satellite/analytics/service.go @@ -59,7 +59,7 @@ const ( eventCopyToClipboardClicked = "Copy to Clipboard Clicked" eventCreateAccessGrantClicked = "Create Access Grant Clicked" eventCreateS3CredentialsClicked = "Create S3 Credentials Clicked" - eventKeysForCLIClicked = "Keys for CLI Clicked" + eventKeysForCLIClicked = "Create Keys For CLI Clicked" ) var ( diff --git a/web/satellite/src/components/accessGrants/CreateAccessModal.vue b/web/satellite/src/components/accessGrants/CreateAccessModal.vue index 482fcbdab..dab740fa4 100644 --- a/web/satellite/src/components/accessGrants/CreateAccessModal.vue +++ b/web/satellite/src/components/accessGrants/CreateAccessModal.vue @@ -242,21 +242,18 @@ export default class CreateAccessModal extends Vue { try { await this.$store.dispatch(ACCESS_GRANTS_ACTIONS.GET_GATEWAY_CREDENTIALS, {accessGrant: this.access}); - await this.$notify.success('Gateway credentials were generated successfully'); - await this.analytics.eventTriggered(AnalyticsEvent.GATEWAY_CREDENTIALS_CREATED); + await this.$notify.success('Gateway credentials were generated successfully'); + this.areKeysVisible = true; } catch (error) { await this.$notify.error(error.message); } } else if (this.checkedType === 'api') { await this.analytics.eventTriggered(AnalyticsEvent.API_ACCESS_CREATED); - } else if (this.checkedType === 'access') { - await this.analytics.eventTriggered(AnalyticsEvent.ACCESS_GRANT_CREATED); } - - this.analytics.eventTriggered(AnalyticsEvent.CREATE_KEYS_CLICKED); + this.analytics.eventTriggered(AnalyticsEvent.ACCESS_GRANT_CREATED); this.accessGrantStep = 'grantCreated'; } diff --git a/web/satellite/src/components/accessGrants/modals/CreateFormModal.vue b/web/satellite/src/components/accessGrants/modals/CreateFormModal.vue index 11a5cacb6..af9bb978d 100644 --- a/web/satellite/src/components/accessGrants/modals/CreateFormModal.vue +++ b/web/satellite/src/components/accessGrants/modals/CreateFormModal.vue @@ -40,7 +40,7 @@ @mouseover="toggleTooltipHover('access','over')" @mouseleave="toggleTooltipHover('access','leave')" > - Keys to upload, delete, and view your project's data. Learn More + Keys to upload, delete, and view your project's data. Learn More