mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-20 21:35:50 +00:00
remove error
This commit is contained in:
@@ -596,6 +596,8 @@ export class GroupMessagesPage implements OnInit, OnChanges, AfterViewInit, OnDe
|
|||||||
this.openEditGroupPage.emit(this.roomId);
|
this.openEditGroupPage.emit(this.roomId);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|
||||||
|
if(res?.data?.name) {
|
||||||
try {
|
try {
|
||||||
this.roomName = res.data.name.split('-').join(' ');
|
this.roomName = res.data.name.split('-').join(' ');
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
@@ -604,6 +606,7 @@ export class GroupMessagesPage implements OnInit, OnChanges, AfterViewInit, OnDe
|
|||||||
this.roomName = res.data.name
|
this.roomName = res.data.name
|
||||||
|
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user