You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The reason will be displayed to describe this comment to others. Learn more.
There's a bug on this when all items in Chats collection are deleted: the UI isn't updated (the last item still shows after removing it), the app needs to be refreshed to show the empty list. I assume the problem could be one of the following:
The Chats observable it's not notifying about it being emptied when the last item is gone.
The Angular iterator (ngFor) in the view doesn't do anything when the underlying list is emptied.
11b19e3
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There's a bug on this when all items in
Chats
collection are deleted: the UI isn't updated (the last item still shows after removing it), the app needs to be refreshed to show the empty list. I assume the problem could be one of the following:Chats
observable it's not notifying about it being emptied when the last item is gone.ngFor
) in the view doesn't do anything when the underlying list is emptied.How can this be fixed?