diff --git a/js/views/inbox_view.js b/js/views/inbox_view.js index 9d702b620..331873937 100644 --- a/js/views/inbox_view.js +++ b/js/views/inbox_view.js @@ -174,7 +174,6 @@ }); // FIXME: Fix this for new react views - this.updateInboxSectionUnread(); this.setupLeftPane(); }, render_attributes: { @@ -429,24 +428,6 @@ } this.$('.conversation:first .recorder').trigger('close'); }, - updateInboxSectionUnread() { - // FIXME: Fix this for new react views - // const $section = this.$('.section-conversations-unread-counter'); - // const models = - // (this.inboxListView.collection && - // this.inboxListView.collection.models) || - // []; - // const unreadCount = models.reduce( - // (count, m) => count + Math.max(0, m.get('unreadCount')), - // 0 - // ); - // $section.text(unreadCount); - // if (unreadCount > 0) { - // $section.show(); - // } else { - // $section.hide(); - // } - }, onClick(e) { this.closeRecording(e); }, diff --git a/stylesheets/_index.scss b/stylesheets/_index.scss index 499e5d18f..55ecdb3e8 100644 --- a/stylesheets/_index.scss +++ b/stylesheets/_index.scss @@ -186,23 +186,6 @@ h4.section-toggle, h4 { flex: 1; } - - .section-conversations-unread-counter { - color: #ffffff; - background-color: #2090ea; - text-align: center; - padding-top: 1px; - padding-left: 3px; - padding-right: 3px; - font-weight: 300; - font-size: 11px; - letter-spacing: 0.25px; - height: 16px; - min-width: 16px; - line-height: 16px; - border-radius: 8px; - box-shadow: 0px 0px 0px 1px #1a1c20; - } } .network-status-container {