Skip to content

Commit 806188f

Browse files
authored
RDISCROWD-7841 - fix loading icon hanging (#483)
1 parent eabdf0e commit 806188f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

static/src/components/setting/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ export default {
248248
const users = isIds ? usersOrIds.map(id => this.users[id]) : usersOrIds;
249249
250250
// Sort the users by their last name.
251-
return users.slice().sort((a, b) => {
251+
return users.filter(u => u).slice().sort((a, b) => {
252252
return a.last_name.localeCompare(b.last_name, undefined, { sensitivity: 'base' });
253253
});
254254
},

0 commit comments

Comments
 (0)