Add ghost feature translation

This commit is contained in:
Johannes Zellner
2021-09-17 16:08:13 +02:00
parent 8057b2454c
commit de2d200c89
3 changed files with 23 additions and 7 deletions

View File

@@ -599,11 +599,13 @@ angular.module('Application').controller('UsersController', ['$scope', '$locatio
$scope.setGhost = {
busy: false,
error: null,
success: false,
user: null,
password: '',
show: function (user) {
$scope.setGhost.busy = false;
$scope.setGhost.success = false;
$scope.setGhost.error = null;
$scope.setGhost.user = user;
$scope.setGhost.password = generatePassword();
@@ -621,6 +623,8 @@ angular.module('Application').controller('UsersController', ['$scope', '$locatio
$scope.setGhost.error = error.message;
return console.error(error);
}
$scope.setGhost.success = true;
});
}
};