mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 13:33:24 +00:00
bug: Show the count in the bankruptcy modal.
(This was a recent regression.)
This commit is contained in:
@@ -90,7 +90,7 @@ function consider_bankruptcy() {
|
||||
if ((page_params.unread_msgs.count > 500) &&
|
||||
(now - page_params.furthest_read_time > 60 * 60 * 24 * 2)) { // 2 days.
|
||||
var unread_info = templates.render('bankruptcy_modal',
|
||||
{unread_count: page_params.unread_count});
|
||||
{unread_count: page_params.unread_msgs.count});
|
||||
$('#bankruptcy-unread-count').html(unread_info);
|
||||
$('#bankruptcy').modal('show');
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user