mirror of
https://github.com/nextcloud/server.git
synced 2026-07-15 04:51:46 -04:00
Fix Typo
This commit is contained in:
parent
8d63b7d9bf
commit
32f96e19e5
1 changed files with 2 additions and 2 deletions
|
|
@ -219,8 +219,8 @@ var UserList = {
|
|||
},
|
||||
function (response) {
|
||||
if(response.status === 'success') {
|
||||
if(UserList.availableGroups.indexOf(response.data.gropname) === -1 && response.data.action === 'add') {
|
||||
UserList.availableGroups.push(response.data.gropname);
|
||||
if(UserList.availableGroups.indexOf(response.data.groupname) === -1 && response.data.action === 'add') {
|
||||
UserList.availableGroups.push(response.data.groupname);
|
||||
}
|
||||
} else {
|
||||
OC.Notification.show(response.data.message);
|
||||
|
|
|
|||
Loading…
Reference in a new issue