mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-20 13:26:08 +00:00
update fix
This commit is contained in:
@@ -95,20 +95,26 @@ export class GroupContactsPage implements OnInit {
|
||||
|
||||
if(!foundUser) {
|
||||
this.objectUserSingleStone.push(user)
|
||||
} else {
|
||||
'not found'
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
const userContainer = {}
|
||||
for(const user of this.objectUserSingleStone) {
|
||||
const firstLetter = user.name.charAt(0)
|
||||
|
||||
if(!this.userContainer[firstLetter]) {
|
||||
this.userContainer[firstLetter] = [user]
|
||||
if(!userContainer[firstLetter]) {
|
||||
userContainer[firstLetter] = [user]
|
||||
} else {
|
||||
this.userContainer[firstLetter].push(user)
|
||||
userContainer[firstLetter].push(user)
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
this.userContainer = userContainer
|
||||
|
||||
|
||||
this.showLoader = false;
|
||||
@@ -167,7 +173,7 @@ export class GroupContactsPage implements OnInit {
|
||||
|
||||
doRefresh(ev){
|
||||
this.loadUsers();
|
||||
this.getMembers();
|
||||
//this.getMembers();
|
||||
ev.target.complete();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user