diff --git a/src/views/administration/accessmanagement/Teams.vue b/src/views/administration/accessmanagement/Teams.vue index 4621bea89..cc564ce2e 100644 --- a/src/views/administration/accessmanagement/Teams.vue +++ b/src/views/administration/accessmanagement/Teams.vue @@ -90,6 +90,9 @@ export default { if (row.ldapUsers) { count += row.ldapUsers.length; } + if (row.oidcUsers) { + count += row.oidcUsers.length; + } return count; }, }, @@ -168,6 +171,13 @@ export default { + +
+ + + +
+
{{ $t('admin.delete_team') }}
@@ -197,6 +207,7 @@ export default { mappedOidcGroups: row.mappedOidcGroups, managedUsers: row.managedUsers, ldapUsers: row.ldapUsers, + oidcUsers: row.oidcUsers, labelIcon: { dataOn: '\u2713', dataOff: '\u2715', @@ -433,6 +444,15 @@ export default { } this.ldapUsers = k; } + if (this.oidcUsers) { + let k = []; + for (let i = 0; i < this.oidcUsers.length; i++) { + if (this.oidcUsers[i].username !== user.username) { + k.push(this.oidcUsers[i]); + } + } + this.oidcUsers = k; + } this.$toastr.s(this.$t('message.updated')); }) .catch((error) => {