mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 20:47:54 +00:00
fix adding member
This commit is contained in:
@@ -241,7 +241,7 @@ export class SignalRConnection {
|
||||
}
|
||||
|
||||
|
||||
sendData(input: ISignalRInput) {
|
||||
sendData(input: ISignalRInput): Promise<Result<any, any>> {
|
||||
return new Promise((resolve, reject) => {
|
||||
|
||||
if(this.connectionStateSubject.value == true) {
|
||||
@@ -320,6 +320,22 @@ export class SignalRConnection {
|
||||
})
|
||||
})
|
||||
|
||||
|
||||
this.hubConnection.on('GroupAddedMembers', (_message) => {
|
||||
console.log('GroupAddedMembers', _message)
|
||||
this.sendDataSubject.next({
|
||||
method: 'GroupAddedMembers',
|
||||
data: _message
|
||||
})
|
||||
})
|
||||
|
||||
this.hubConnection.on('GroupDeletedMembers', (_message) => {
|
||||
console.log('GroupDeletedMembers', _message)
|
||||
this.sendDataSubject.next({
|
||||
method: 'GroupDeletedMembers',
|
||||
data: _message
|
||||
})
|
||||
})
|
||||
}
|
||||
|
||||
public getMessageUpdateSubject() {
|
||||
|
||||
Reference in New Issue
Block a user