mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-20 05:16:07 +00:00
improve chat user flow
This commit is contained in:
@@ -28,10 +28,12 @@ export class NewGroupPage implements OnInit{
|
||||
link = ''
|
||||
documents: any;
|
||||
loggedUserChat: any;
|
||||
@Input() roomId: string;
|
||||
|
||||
@Input() groupName:string;
|
||||
@Output() addGroupMessage:EventEmitter<any> = new EventEmitter<any>();
|
||||
@Output() closeAllDesktopComponents:EventEmitter<any> = new EventEmitter<any>();
|
||||
@Output() backToChat:EventEmitter<any> = new EventEmitter<any>();
|
||||
|
||||
|
||||
constructor(
|
||||
@@ -81,7 +83,7 @@ export class NewGroupPage implements OnInit{
|
||||
this.RouteService.goBack();
|
||||
this.dataService.set("link", false);
|
||||
} else {
|
||||
this.closeAllDesktopComponents.emit();
|
||||
this.backToChat.emit({roomId: this.roomId});
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user