mirror of
https://github.com/richard-loafle/fuse-angular.git
synced 2025-02-23 02:13:33 +00:00
(apps/chat) Reset the current selected chat when component destroyed
This commit is contained in:
parent
4af04eab4d
commit
42a3dda2f5
@ -92,6 +92,9 @@ export class ChatsComponent implements OnInit, OnDestroy
|
||||
// Unsubscribe from all subscriptions
|
||||
this._unsubscribeAll.next(null);
|
||||
this._unsubscribeAll.complete();
|
||||
|
||||
// Reset the chat
|
||||
this._chatService.resetChat();
|
||||
}
|
||||
|
||||
// -----------------------------------------------------------------------------------------------------
|
||||
|
Loading…
x
Reference in New Issue
Block a user