mirror of
https://github.com/nextcloud/server.git
synced 2026-06-06 15:23:17 -04:00
fix(users): Remove useless filtering condition
Signed-off-by: Louis Chemineau <louis@chmn.me>
This commit is contained in:
parent
3574d7eec8
commit
5f8c466f78
1 changed files with 0 additions and 4 deletions
|
|
@ -169,10 +169,6 @@ export default {
|
|||
if (this.selectedGroup === 'disabled') {
|
||||
return this.users.filter(user => user.enabled === false)
|
||||
}
|
||||
if (!this.settings.isAdmin) {
|
||||
// we don't want subadmins to edit themselves
|
||||
return this.users.filter(user => user.enabled !== false)
|
||||
}
|
||||
return this.users.filter(user => user.enabled !== false)
|
||||
},
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue