diff options
author | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2019-10-07 19:25:29 +0300 |
---|---|---|
committer | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2019-10-21 11:09:21 +0300 |
commit | b41e3f8f081bd1cb3c2fc9b478dfa3f6533b92f7 (patch) | |
tree | a408460760db699e791a7d596ebfb5ff58677c1f /apps/settings/src/views | |
parent | c92e64b5376b2143151d29b7e1bd679267d576c2 (diff) |
hide strange Everyone and Disabled group numbers with LDAP, fixes 17368
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to 'apps/settings/src/views')
-rw-r--r-- | apps/settings/src/views/Users.vue | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/settings/src/views/Users.vue b/apps/settings/src/views/Users.vue index 3c3082fc077..eb52fa4ba16 100644 --- a/apps/settings/src/views/Users.vue +++ b/apps/settings/src/views/Users.vue @@ -283,6 +283,10 @@ export default { || disabledGroup.utils.counter === -1) // add disabled if ldap enabled ) { groups.unshift(disabledGroup) + if (disabledGroup.utils.counter === -1) { + // hides the counter instead of showing -1 + delete disabledGroup.utils.counter + } } } |