summaryrefslogtreecommitdiffstats
path: root/webapp/components/select_team
diff options
context:
space:
mode:
authordoh5 <doo@mattermost.com>2017-04-26 09:29:12 -0500
committerCorey Hulen <corey@hulen.com>2017-04-26 07:29:12 -0700
commit41dbb7294673e78361fbef7587258f0bdee7a0f8 (patch)
tree27382e12179b3c85312cb44188079883e9dbb08f /webapp/components/select_team
parent6fa7082833812c734aeef8ad24477823ee766f1b (diff)
downloadchat-41dbb7294673e78361fbef7587258f0bdee7a0f8.tar.gz
chat-41dbb7294673e78361fbef7587258f0bdee7a0f8.tar.bz2
chat-41dbb7294673e78361fbef7587258f0bdee7a0f8.zip
Add necessary IDs for email sign up (#6233)
* Add necessary IDs for email sign up For selenium automation * Add ID to the main page signup link * Add ID to the select team page * Update select_team_item.jsx
Diffstat (limited to 'webapp/components/select_team')
-rw-r--r--webapp/components/select_team/components/select_team_item.jsx2
1 files changed, 2 insertions, 0 deletions
diff --git a/webapp/components/select_team/components/select_team_item.jsx b/webapp/components/select_team/components/select_team_item.jsx
index 95325c4f3..202b11528 100644
--- a/webapp/components/select_team/components/select_team_item.jsx
+++ b/webapp/components/select_team/components/select_team_item.jsx
@@ -6,6 +6,7 @@ import React from 'react';
import {Link} from 'react-router/es6';
import {Tooltip, OverlayTrigger} from 'react-bootstrap';
import {Constants} from 'utils/constants.jsx';
+import * as Utils from 'utils/utils.jsx';
export default class SelectTeamItem extends React.Component {
static propTypes = {
@@ -67,6 +68,7 @@ export default class SelectTeamItem extends React.Component {
<div className='signup-team-dir'>
{showDescriptionTooltip}
<Link
+ id={Utils.createSafeId(this.props.team.display_name)}
to={this.props.url}
onClick={this.handleTeamClick}
>