summaryrefslogtreecommitdiffstats
path: root/webapp
diff options
context:
space:
mode:
authordoh5 <doo@mattermost.com>2017-04-03 21:17:21 +0900
committerJoram Wilander <jwawilander@gmail.com>2017-04-03 08:17:21 -0400
commit06e09a05530699be1319a339d027eb508bf24617 (patch)
tree3e3662f569369dd1edcc2f74e7564784bc79895a /webapp
parent8e70e40c30d5de9c5a1f5d86fe83aa7fb775bd55 (diff)
downloadchat-06e09a05530699be1319a339d027eb508bf24617.tar.gz
chat-06e09a05530699be1319a339d027eb508bf24617.tar.bz2
chat-06e09a05530699be1319a339d027eb508bf24617.zip
Add IDs to the Admin Sidebar Section (#5909)
* Add IDs to the Admin Sidebar Section Under Testing * Update admin_sidebar_section.jsx * Update admin_sidebar_section.jsx * Update admin_sidebar_section.jsx * Update admin_sidebar_section.jsx
Diffstat (limited to 'webapp')
-rw-r--r--webapp/components/admin_console/admin_sidebar_section.jsx2
1 files changed, 2 insertions, 0 deletions
diff --git a/webapp/components/admin_console/admin_sidebar_section.jsx b/webapp/components/admin_console/admin_sidebar_section.jsx
index 097907bfa..c15291de9 100644
--- a/webapp/components/admin_console/admin_sidebar_section.jsx
+++ b/webapp/components/admin_console/admin_sidebar_section.jsx
@@ -4,6 +4,7 @@
import React from 'react';
import {Link} from 'react-router/es6';
+import * as Utils from 'utils/utils.jsx';
export default class AdminSidebarSection extends React.Component {
static get propTypes() {
@@ -62,6 +63,7 @@ export default class AdminSidebarSection extends React.Component {
let sidebarItem = (
<Link
+ id={Utils.createSafeId(this.props.name)}
className={`${className}-title`}
activeClassName={`${className}-title ${className}-title--active`}
onlyActiveOnIndex={this.props.onlyActiveOnIndex}