Also use the same username || email pattern in app.html

This commit is contained in:
Johannes Zellner
2022-03-04 13:37:35 +01:00
parent ce20af0d36
commit b6b46dca78
2 changed files with 1 additions and 4 deletions

View File

@@ -1831,9 +1831,6 @@ angular.module('Application').controller('AppController', ['$scope', '$location'
Client.getAllUsers(function (error, users) {
if (error) return callback(error);
// ensure we have something to work with in the access restriction dropdowns
users.forEach(function (user) { user.display = user.username || user.email; });
$scope.users = users;
callback();