mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
Remove redundant self_hosted_expansion prefixes for telemetry events.
This commit is contained in:
parent
31d13fdb0a
commit
700af71a0d
@ -74,12 +74,12 @@ export default function SelfHostedExpansionErrorPage(props: Props) {
|
|||||||
error={true}
|
error={true}
|
||||||
formattedButtonText={formattedButtonText}
|
formattedButtonText={formattedButtonText}
|
||||||
buttonHandler={() => {
|
buttonHandler={() => {
|
||||||
trackEvent(TELEMETRY_CATEGORIES.SELF_HOSTED_EXPANSION, 'self_hosted_expansion_failure_try_again_clicked');
|
trackEvent(TELEMETRY_CATEGORIES.SELF_HOSTED_EXPANSION, 'failure_try_again_clicked');
|
||||||
props.tryAgain();
|
props.tryAgain();
|
||||||
}}
|
}}
|
||||||
formattedTertiaryButonText={tertiaryButtonText}
|
formattedTertiaryButonText={tertiaryButtonText}
|
||||||
tertiaryButtonHandler={() => {
|
tertiaryButtonHandler={() => {
|
||||||
trackEvent(TELEMETRY_CATEGORIES.SELF_HOSTED_EXPANSION, 'self_hosted_expansion_failure_contact_support_clicked');
|
trackEvent(TELEMETRY_CATEGORIES.SELF_HOSTED_EXPANSION, 'failure_contact_support_clicked');
|
||||||
window.open(contactSupportLink, '_blank', 'noreferrer');
|
window.open(contactSupportLink, '_blank', 'noreferrer');
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
|
@ -35,7 +35,7 @@ export default function SelfHostedExpansionSuccessPage(props: Props) {
|
|||||||
<a
|
<a
|
||||||
href='#'
|
href='#'
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
trackEvent(TELEMETRY_CATEGORIES.SELF_HOSTED_EXPANSION, 'self_hosted_expansion_success_screen_closed');
|
trackEvent(TELEMETRY_CATEGORIES.SELF_HOSTED_EXPANSION, 'success_screen_closed');
|
||||||
history.push(ConsolePages.BILLING_HISTORY);
|
history.push(ConsolePages.BILLING_HISTORY);
|
||||||
props.onClose();
|
props.onClose();
|
||||||
}}
|
}}
|
||||||
|
Loading…
Reference in New Issue
Block a user