From 8107be6ec4ccf0def237c24b8f3578277aa95d77 Mon Sep 17 00:00:00 2001 From: Ben Gotow Date: Tue, 11 Aug 2015 10:01:40 -0700 Subject: [PATCH] fix(thread-list): Unread gem hover state should override "star" Fixes T3216 --- internal_packages/thread-list/lib/thread-list-icon.cjsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/internal_packages/thread-list/lib/thread-list-icon.cjsx b/internal_packages/thread-list/lib/thread-list-icon.cjsx index 6db826767..8c03a5a69 100644 --- a/internal_packages/thread-list/lib/thread-list-icon.cjsx +++ b/internal_packages/thread-list/lib/thread-list-icon.cjsx @@ -19,7 +19,7 @@ class ThreadListIcon extends React.Component return 'thread-icon-star' if @props.thread.unread - return 'thread-icon-unread thread-icon-star-on-hover' + return 'thread-icon-unread' msgs = @_nonDraftMessages() last = msgs[msgs.length - 1] @@ -27,9 +27,9 @@ class ThreadListIcon extends React.Component myEmail = NamespaceStore.current()?.emailAddress if msgs.length > 1 and last.from[0]?.email is myEmail if Utils.isForwardedMessage(last) - return 'thread-icon-forwarded thread-icon-star-on-hover' + return 'thread-icon-forwarded' else - return 'thread-icon-replied thread-icon-star-on-hover' + return 'thread-icon-replied' return 'thread-icon-star-on-hover'