mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 20:47:54 +00:00
fix change
This commit is contained in:
@@ -29,7 +29,7 @@
|
||||
</div>
|
||||
|
||||
<ion-toolbar [class.block-button]="showNewEvent || showNewGroup || showContacts">
|
||||
<ion-segment [(ngModel)]="segment" (ionChange)="onSegmentChange()">
|
||||
<ion-segment [(ngModel)]="segment">
|
||||
<ion-segment-button value="{{RoomType.Direct}}" class="font-14-em">
|
||||
Conversas
|
||||
</ion-segment-button>
|
||||
|
||||
@@ -160,9 +160,7 @@ export class ChatPage implements OnInit {
|
||||
// this.setStatus('offline');
|
||||
this.routerSubscription?.unsubscribe();
|
||||
// Unsubscribe from the interval to prevent memory leaks
|
||||
if (this.intervalSubscription) {
|
||||
this.intervalSubscription.unsubscribe();
|
||||
}
|
||||
this.intervalSubscription?.unsubscribe();
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -131,6 +131,8 @@ export class NewGroupPage implements OnInit{
|
||||
members: []
|
||||
})
|
||||
|
||||
console.log(result)
|
||||
|
||||
if(result.isOk()) {
|
||||
this.addGroupMessage.emit(result.value.id);
|
||||
} else if(result.error instanceof HttpErrorResponse) {
|
||||
|
||||
Reference in New Issue
Block a user