alterar nome desktop

This commit is contained in:
tiago.kayaya
2021-04-16 11:25:10 +01:00
parent 044d959bbd
commit 2499fe7794
6 changed files with 62 additions and 30 deletions
@@ -30,7 +30,7 @@ export class GroupMessagesPage implements OnInit, OnChanges {
@Output() closeAllDesktopComponents:EventEmitter<any> = new EventEmitter<any>();
@Output() showEmptyContainer:EventEmitter<any> = new EventEmitter<any>();
@Output() openGroupContacts:EventEmitter<any> = new EventEmitter<any>();
@Output() openEditGroup:EventEmitter<any> = new EventEmitter<any>();
@Output() openEditGroupPage:EventEmitter<any> = new EventEmitter<any>();
constructor(
private menu: MenuController,
@@ -210,7 +210,9 @@ export class GroupMessagesPage implements OnInit, OnChanges {
console.log('CANCEL');
}
else if(res.data == 'edit'){
console.log('CANCEL');
console.log(this.roomId);
//this.closeAllDesktopComponents.emit();
this.openEditGroupPage.emit(this.roomId);
}
else{
this.roomName = res.data.name.split('-').join(' ');