Move /users to /admin
parent
7354b8ea52
commit
e7004ac3ad
|
@ -1,4 +1,4 @@
|
|||
import {getUsers} from 'src/users/apis'
|
||||
import {getUsers} from 'src/admin/apis'
|
||||
|
||||
export const loadUsers = ({users}) => ({
|
||||
type: 'LOAD_USERS',
|
|
@ -1,8 +1,8 @@
|
|||
import React, {Component, PropTypes} from 'react'
|
||||
import {connect} from 'react-redux';
|
||||
import {bindActionCreators} from 'redux';
|
||||
import {loadUsersAsync} from 'src/users/actions'
|
||||
import UsersTable from 'src/users/components/UsersTable'
|
||||
import {loadUsersAsync} from 'src/admin/actions'
|
||||
import UsersTable from 'src/admin/components/UsersTable'
|
||||
|
||||
class UsersPage extends Component {
|
||||
constructor(props) {
|
|
@ -14,7 +14,7 @@ import {KapacitorPage, KapacitorRulePage, KapacitorRulesPage, KapacitorTasksPage
|
|||
import DataExplorer from 'src/data_explorer';
|
||||
import {DashboardsPage, DashboardPage} from 'src/dashboards';
|
||||
import {CreateSource, SourcePage, ManageSources} from 'src/sources';
|
||||
import {UsersPage} from 'src/users';
|
||||
import {UsersPage} from 'src/admin';
|
||||
import NotFound from 'src/shared/components/NotFound';
|
||||
import configureStore from 'src/store/configureStore';
|
||||
import {getMe, getSources} from 'shared/apis';
|
||||
|
|
|
@ -5,7 +5,7 @@ import makeQueryExecuter from 'src/shared/middleware/queryExecuter';
|
|||
import resizeLayout from 'src/shared/middleware/resizeLayout';
|
||||
import * as dataExplorerReducers from 'src/data_explorer/reducers';
|
||||
import * as sharedReducers from 'src/shared/reducers';
|
||||
import adminReducer from 'src/users/reducers/admin';
|
||||
import adminReducer from 'src/admin/reducers/admin';
|
||||
import rulesReducer from 'src/kapacitor/reducers/rules';
|
||||
import dashboardUI from 'src/dashboards/reducers/ui';
|
||||
import persistStateEnhancer from './persistStateEnhancer';
|
||||
|
|
Loading…
Reference in New Issue