Rename EmptyUsersTable to UsersTableEmpty for new consistency
parent
ce60b4ffca
commit
d5119aee24
|
@ -6,7 +6,7 @@ import Authorized, {SUPERADMIN_ROLE} from 'src/auth/Authorized'
|
|||
|
||||
import {USERS_TABLE} from 'src/admin/constants/chronografTableSizing'
|
||||
|
||||
const EmptyUsersTable = () => {
|
||||
const AllUsersTableEmpty = () => {
|
||||
const {
|
||||
colRole,
|
||||
colSuperAdmin,
|
||||
|
@ -43,4 +43,4 @@ const EmptyUsersTable = () => {
|
|||
)
|
||||
}
|
||||
|
||||
export default EmptyUsersTable
|
||||
export default AllUsersTableEmpty
|
||||
|
|
|
@ -4,7 +4,7 @@ import UsersTableHeader from 'src/admin/components/chronograf/UsersTableHeader'
|
|||
|
||||
import {USERS_TABLE} from 'src/admin/constants/chronografTableSizing'
|
||||
|
||||
const EmptyUsersTable = () => {
|
||||
const UsersTableEmpty = () => {
|
||||
const {colRole, colProvider, colScheme, colActions} = USERS_TABLE
|
||||
|
||||
return (
|
||||
|
@ -30,4 +30,4 @@ const EmptyUsersTable = () => {
|
|||
)
|
||||
}
|
||||
|
||||
export default EmptyUsersTable
|
||||
export default UsersTableEmpty
|
|
@ -5,7 +5,7 @@ import {bindActionCreators} from 'redux'
|
|||
import * as adminChronografActionCreators from 'src/admin/actions/chronograf'
|
||||
import {publishAutoDismissingNotification} from 'shared/dispatchers'
|
||||
|
||||
import EmptyUsersTable from 'src/admin/components/chronograf/EmptyUsersTable'
|
||||
import UsersTableEmpty from 'src/admin/components/chronograf/UsersTableEmpty'
|
||||
import UsersTable from 'src/admin/components/chronograf/UsersTable'
|
||||
|
||||
class UsersPage extends Component {
|
||||
|
@ -63,7 +63,7 @@ class UsersPage extends Component {
|
|||
const {isLoading} = this.state
|
||||
|
||||
if (isLoading) {
|
||||
return <EmptyUsersTable />
|
||||
return <UsersTableEmpty />
|
||||
}
|
||||
|
||||
const organization = organizations.find(
|
||||
|
|
Loading…
Reference in New Issue