Rename chronograf/AllUsersTable to chronograf/UsersTable since serves as single-stop table
parent
8ad034fcef
commit
4bf7fafdbd
|
@ -7,7 +7,7 @@ import Dropdown from 'shared/components/Dropdown'
|
||||||
import {DEFAULT_ORG, NO_ORG, USER_ROLES} from 'src/admin/constants/dummyUsers'
|
import {DEFAULT_ORG, NO_ORG, USER_ROLES} from 'src/admin/constants/dummyUsers'
|
||||||
import {USERS_TABLE} from 'src/admin/constants/chronografTableSizing'
|
import {USERS_TABLE} from 'src/admin/constants/chronografTableSizing'
|
||||||
|
|
||||||
class ChronografAllUsersTable extends Component {
|
class ChronografUsersTable extends Component {
|
||||||
constructor(props) {
|
constructor(props) {
|
||||||
super(props)
|
super(props)
|
||||||
}
|
}
|
||||||
|
@ -187,7 +187,7 @@ class ChronografAllUsersTable extends Component {
|
||||||
|
|
||||||
const {arrayOf, func, shape, string} = PropTypes
|
const {arrayOf, func, shape, string} = PropTypes
|
||||||
|
|
||||||
ChronografAllUsersTable.propTypes = {
|
ChronografUsersTable.propTypes = {
|
||||||
filteredUsers: arrayOf(shape),
|
filteredUsers: arrayOf(shape),
|
||||||
selectedUsers: arrayOf(shape),
|
selectedUsers: arrayOf(shape),
|
||||||
onFilterUsers: func.isRequired,
|
onFilterUsers: func.isRequired,
|
||||||
|
@ -197,4 +197,4 @@ ChronografAllUsersTable.propTypes = {
|
||||||
organizationName: string,
|
organizationName: string,
|
||||||
onUpdateUserRole: func.isRequired,
|
onUpdateUserRole: func.isRequired,
|
||||||
}
|
}
|
||||||
export default ChronografAllUsersTable
|
export default ChronografUsersTable
|
|
@ -1,7 +1,7 @@
|
||||||
import React, {Component, PropTypes} from 'react'
|
import React, {Component, PropTypes} from 'react'
|
||||||
|
|
||||||
import SourceIndicator from 'shared/components/SourceIndicator'
|
import SourceIndicator from 'shared/components/SourceIndicator'
|
||||||
import AllUsersTable from 'src/admin/components/chronograf/AllUsersTable'
|
import UsersTable from 'src/admin/components/chronograf/UsersTable'
|
||||||
import BatchActionsBar from 'src/admin/components/chronograf/BatchActionsBar'
|
import BatchActionsBar from 'src/admin/components/chronograf/BatchActionsBar'
|
||||||
import Dropdown from 'shared/components/Dropdown'
|
import Dropdown from 'shared/components/Dropdown'
|
||||||
|
|
||||||
|
@ -159,7 +159,7 @@ class AdminChronografPage extends Component {
|
||||||
onChangeRoles={this.handleBatchChangeUsersRole}
|
onChangeRoles={this.handleBatchChangeUsersRole}
|
||||||
/>
|
/>
|
||||||
<div className="panel-body chronograf-admin-table--panel">
|
<div className="panel-body chronograf-admin-table--panel">
|
||||||
<AllUsersTable
|
<UsersTable
|
||||||
filteredUsers={filteredUsers}
|
filteredUsers={filteredUsers}
|
||||||
organizationName={organizationName}
|
organizationName={organizationName}
|
||||||
onFilterUsers={this.handleFilterUsers}
|
onFilterUsers={this.handleFilterUsers}
|
||||||
|
|
Loading…
Reference in New Issue