We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eabdf0e commit 806188fCopy full SHA for 806188f
static/src/components/setting/index.vue
@@ -248,7 +248,7 @@ export default {
248
const users = isIds ? usersOrIds.map(id => this.users[id]) : usersOrIds;
249
250
// Sort the users by their last name.
251
- return users.slice().sort((a, b) => {
+ return users.filter(u => u).slice().sort((a, b) => {
252
return a.last_name.localeCompare(b.last_name, undefined, { sensitivity: 'base' });
253
});
254
},
0 commit comments