fix change

This commit is contained in:
Peter Maquiran
2024-08-30 17:16:15 +01:00
parent 3edbcc194e
commit 6193aac4a8
10 changed files with 18 additions and 16 deletions
+1 -1
View File
@@ -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>
+1 -3
View File
@@ -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) {