Web:Client: delete useless code
This commit is contained in:
parent
2574d0cd5f
commit
1ad68d1ded
@ -46,7 +46,7 @@ class ChangeUserStatusDialogComponent extends React.Component {
|
||||
usersCount = users.length;
|
||||
})
|
||||
.catch((error) => toastr.error(error))
|
||||
.finally((users) => {
|
||||
.finally(() => {
|
||||
this.setState({ isRequestRunning: false }, () => {
|
||||
toastr.success(t("PeopleTranslations:SuccessChangeUserStatus"));
|
||||
(!infoPanelVisible || usersCount !== 1) && setSelected("close");
|
||||
|
@ -37,8 +37,6 @@ const AccountsItemTitle = ({
|
||||
);
|
||||
}
|
||||
|
||||
console.log(selection);
|
||||
|
||||
return (
|
||||
<StyledAccountsItemTitle isPending={isPending}>
|
||||
<Avatar
|
||||
|
@ -255,7 +255,6 @@ class PeopleStore {
|
||||
disabled: !hasUsersToActivate,
|
||||
onClick: () => this.onChangeStatus(EmployeeStatus.Active),
|
||||
iconUrl: "images/enable.react.svg",
|
||||
"data-status": EmployeeStatus.Active,
|
||||
},
|
||||
{
|
||||
key: "disable",
|
||||
@ -263,7 +262,6 @@ class PeopleStore {
|
||||
disabled: !hasUsersToDisable,
|
||||
onClick: () => this.onChangeStatus(EmployeeStatus.Disabled),
|
||||
iconUrl: "images/disable.react.svg",
|
||||
"data-status": EmployeeStatus.Disabled,
|
||||
},
|
||||
{
|
||||
key: "delete",
|
||||
|
Loading…
Reference in New Issue
Block a user