diff --git a/frontend/src/components/dialog/sysadmin-dialog/sysadmin-inactive-setting-dialog.js b/frontend/src/components/dialog/sysadmin-dialog/sysadmin-user-deactivate-dialog.js similarity index 93% rename from frontend/src/components/dialog/sysadmin-dialog/sysadmin-inactive-setting-dialog.js rename to frontend/src/components/dialog/sysadmin-dialog/sysadmin-user-deactivate-dialog.js index ef6f165fb7..3db367c0ef 100644 --- a/frontend/src/components/dialog/sysadmin-dialog/sysadmin-inactive-setting-dialog.js +++ b/frontend/src/components/dialog/sysadmin-dialog/sysadmin-user-deactivate-dialog.js @@ -9,7 +9,7 @@ const propTypes = { onSubmit: PropTypes.func.isRequired }; -class SysAdminInactiveSettingDialog extends React.Component { +class SysAdminUserDeactivateDialog extends React.Component { constructor(props) { super(props); @@ -75,6 +75,6 @@ class SysAdminInactiveSettingDialog extends React.Component { } } -SysAdminInactiveSettingDialog.propTypes = propTypes; +SysAdminUserDeactivateDialog.propTypes = propTypes; -export default SysAdminInactiveSettingDialog; +export default SysAdminUserDeactivateDialog; diff --git a/frontend/src/pages/sys-admin/orgs/org-users.js b/frontend/src/pages/sys-admin/orgs/org-users.js index dc3ba86fd9..df3fd89528 100644 --- a/frontend/src/pages/sys-admin/orgs/org-users.js +++ b/frontend/src/pages/sys-admin/orgs/org-users.js @@ -16,7 +16,7 @@ import OpMenu from '../../../components/dialog/op-menu'; import MainPanelTopbar from '../main-panel-topbar'; import UserLink from '../user-link'; import OrgNav from './org-nav'; -import SysAdminInactiveSettingDialog from '../../../components/dialog/sysadmin-dialog/sysadmin-inactive-setting-dialog'; +import SysAdminUserDeactivateDialog from '../../../components/dialog/sysadmin-dialog/sysadmin-user-deactivate-dialog'; dayjs.extend(relativeTime); @@ -311,7 +311,7 @@ class Item extends Component { /> } {isConfirmInactiveDialogOpen && - diff --git a/frontend/src/pages/sys-admin/users/users-content.js b/frontend/src/pages/sys-admin/users/users-content.js index 6f53a148b7..e75d4cb018 100644 --- a/frontend/src/pages/sys-admin/users/users-content.js +++ b/frontend/src/pages/sys-admin/users/users-content.js @@ -15,8 +15,7 @@ import OpMenu from '../../../components/dialog/op-menu'; import SysAdminUserSetQuotaDialog from '../../../components/dialog/sysadmin-dialog/set-quota'; import CommonOperationConfirmationDialog from '../../../components/dialog/common-operation-confirmation-dialog'; import UserLink from '../user-link'; -import UsersFilterBar from './users-filter-bar'; -import SysAdminInactiveSettingDialog from '../../../components/dialog/sysadmin-dialog/sysadmin-inactive-setting-dialog'; +import SysAdminUserDeactivateDialog from '../../../components/dialog/sysadmin-dialog/sysadmin-user-deactivate-dialog'; const { availableRoles, availableAdminRoles, institutions } = window.sysadmin.pageOptions; dayjs.extend(relativeTime); @@ -590,7 +589,7 @@ class Item extends Component { /> } {isConfirmInactiveDialogOpen && -