Fixed deleted user in user modal
This commit is contained in:
parent
9569437f78
commit
6549bd7e17
@ -1886,7 +1886,7 @@ angular.module('myApp.controllers', ['myApp.i18n'])
|
||||
MtpApiManager.invokeApi('users.getFullUser', {
|
||||
id: AppUsersManager.getUserInput($scope.userID)
|
||||
}).then(function (userFullResult) {
|
||||
if ($scope.override && !userFullResult.user.phone) {
|
||||
if ($scope.override && $scope.override.phone_number && !userFullResult.user.phone) {
|
||||
userFullResult.user.phone = $scope.override.phone_number;
|
||||
userFullResult.user.first_name = $scope.override.first_name;
|
||||
userFullResult.user.last_name = $scope.override.last_name;
|
||||
|
Loading…
x
Reference in New Issue
Block a user