mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 04:57:52 +00:00
add parameters
This commit is contained in:
@@ -65,6 +65,23 @@ export class ChatSystemService {
|
||||
private notificationService: NotificationsService
|
||||
) {
|
||||
|
||||
|
||||
const user = this.users
|
||||
|
||||
const alfa = {}
|
||||
|
||||
const sortedUserList = user.sort((a, b) => {
|
||||
if(a.name < b.name) {
|
||||
return -1;
|
||||
}
|
||||
if(a.name > b.name) {
|
||||
return 1;
|
||||
}
|
||||
return 0;
|
||||
})
|
||||
|
||||
console.log({sortedUserList})
|
||||
|
||||
this.RochetChatConnectorService.registerCallback({
|
||||
type: 'reConnect',
|
||||
funx: async () => {
|
||||
|
||||
Reference in New Issue
Block a user