mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
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
This commit is contained in:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user