PLT-5151 Show jewel with only mentions on mobile (#5004)
Этот коммит содержится в:
коммит произвёл
Harrison Healey
родитель
12662d0c87
Коммит
16c3915d1a
@@ -13,7 +13,7 @@ function getCountsStateFromStores() {
|
||||
|
||||
teamMembers.forEach((member) => {
|
||||
if (member.team_id !== TeamStore.getCurrentId()) {
|
||||
count += ((member.msg_count || 0) + (member.mention_count || 0));
|
||||
count += (member.mention_count || 0);
|
||||
}
|
||||
});
|
||||
|
||||
@@ -27,8 +27,6 @@ function getCountsStateFromStores() {
|
||||
count += channel.total_msg_count - channelMember.msg_count;
|
||||
} else if (channelMember.mention_count > 0) {
|
||||
count += channelMember.mention_count;
|
||||
} else if (channelMember.notify_props.mark_unread !== 'mention' && channel.total_msg_count - channelMember.msg_count > 0) {
|
||||
count += 1;
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Ссылка в новой задаче
Block a user