Fix inactive users showing up in team members modal (#6260)
Этот коммит содержится в:
коммит произвёл
Christopher Speller
родитель
224ddb35cf
Коммит
83bfd95f65
@@ -629,10 +629,7 @@ export function checkMfa(loginId, success, error) {
|
||||
export function updateActive(userId, active, success, error) {
|
||||
Client.updateActive(userId, active,
|
||||
(data) => {
|
||||
AppDispatcher.handleServerAction({
|
||||
type: ActionTypes.RECEIVED_PROFILE,
|
||||
profile: data
|
||||
});
|
||||
UserStore.saveProfile(data);
|
||||
|
||||
if (success) {
|
||||
success(data);
|
||||
|
||||
Ссылка в новой задаче
Block a user