Skip to content
This repository has been archived by the owner on Mar 13, 2024. It is now read-only.

Commit

Permalink
MM-25889 - Restored announcement type for email verification (#5706) (#…
Browse files Browse the repository at this point in the history
…5750)

Automatic Merge
  • Loading branch information
marianunez committed Jun 18, 2020
1 parent fae963d commit 4425a97
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions components/do_verify_email/do_verify_email.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import {ActionFunc, ActionResult} from 'mattermost-redux/types/actions';

import {trackEvent} from 'actions/diagnostics_actions.jsx';
import {browserHistory} from 'utils/browser_history';
import {AnnouncementBarMessages, VerifyEmailErrors} from 'utils/constants';
import {AnnouncementBarTypes, AnnouncementBarMessages, VerifyEmailErrors} from 'utils/constants';
import logoImage from 'images/logo.png';
import BackButton from 'components/common/back_button';
import LoadingScreen from 'components/loading_screen';
Expand Down Expand Up @@ -67,7 +67,8 @@ export default class DoVerifyEmail extends React.PureComponent<Props, State> {
if (this.props.isLoggedIn) {
this.props.actions.logError({
message: AnnouncementBarMessages.EMAIL_VERIFIED,
}, true);
type: AnnouncementBarTypes.SUCCESS,
} as any, true);
trackEvent('settings', 'verify_email');
const me = await this.props.actions.getMe();
if ('data' in me) {
Expand Down

0 comments on commit 4425a97

Please sign in to comment.