From 46f8c9a7024bbe13ea57d0a54e117447283782d4 Mon Sep 17 00:00:00 2001 From: Johannes Zellner Date: Wed, 27 Oct 2021 21:59:30 +0200 Subject: [PATCH] Fix typos --- src/views/users.html | 4 ++-- src/views/users.js | 8 ++++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/src/views/users.html b/src/views/users.html index d6e81052b..d64e6f384 100644 --- a/src/views/users.html +++ b/src/views/users.html @@ -354,7 +354,7 @@
- + @@ -388,7 +388,7 @@
- + diff --git a/src/views/users.js b/src/views/users.js index 358e35a1a..02ddc6c00 100644 --- a/src/views/users.js +++ b/src/views/users.js @@ -546,6 +546,8 @@ angular.module('Application').controller('UsersController', ['$scope', '$locatio email: '', show: function (user) { + $scope.passwordReset.busy = false; + $scope.passwordReset.resetLink = ''; $scope.passwordReset.user = user; $scope.passwordReset.email = user.fallbackEmail || user.email; @@ -578,13 +580,15 @@ angular.module('Application').controller('UsersController', ['$scope', '$locatio email: '', show: function (user) { + $scope.invitation.busy = false; + $scope.invitation.inviteLink = ''; $scope.invitation.user = user; - $scope.invitation.email = user.fallbackEmail || user.email; + $scope.invitation.email = user.email; Client.getInviteLink(user.id, function (error, result) { if (error) return console.error('Failed to get invite link.', error); - $scope.invitation.resetLink = result.inviteLink; + $scope.invitation.inviteLink = result.inviteLink; $('#invitationModal').modal('show'); });