-
- Downloads
[FIX] mail: click on unstar all button should reset the starredcounter
Before this commit: Clicking on 'unstar all' button removes all messages from starred channel but it only decreases the counter as many as there are displayed messages on screen. For example, if there are 40 messages starred, only 30 messages are on screen (default limit) but unstar all will decrease counter only for those messages instead of 40. After this commit: clicking on 'unstar all' button will correctly take in account all fetched messages and not only displayed messages. So now, after clicking on 'unstar all' button will update the starred counter to 0. task-ID: 33958
Showing
- addons/mail/static/src/js/services/chat_manager.js 7 additions, 2 deletionsaddons/mail/static/src/js/services/chat_manager.js
- addons/mail/static/tests/discuss_tests.js 104 additions, 0 deletionsaddons/mail/static/tests/discuss_tests.js
- addons/mail/static/tests/helpers/mock_server.js 16 additions, 1 deletionaddons/mail/static/tests/helpers/mock_server.js
- addons/mail/static/tests/helpers/test_utils.js 6 additions, 0 deletionsaddons/mail/static/tests/helpers/test_utils.js
Loading
Please register or sign in to comment