Use only counter (no unread indicator) for chats bottom bar tab (#16417)
This commit is contained in:
parent
5f441dfa93
commit
bca7ab7925
|
@ -215,8 +215,8 @@
|
|||
:counter-label (:unviewed-mentions-count community-stack)}
|
||||
:chats-stack
|
||||
{:new-notifications? (pos? (:unviewed-messages-count chats-stack))
|
||||
:notification-indicator (if (pos? (:unviewed-mentions-count chats-stack)) :counter :unread-dot)
|
||||
:counter-label (:unviewed-mentions-count chats-stack)}})))
|
||||
:notification-indicator :counter
|
||||
:counter-label (:unviewed-messages-count chats-stack)}})))
|
||||
|
||||
;; Floating screens
|
||||
(re-frame/reg-sub
|
||||
|
|
|
@ -29,8 +29,8 @@
|
|||
:notification-indicator :unread-dot
|
||||
:counter-label 0}
|
||||
:chats-stack {:new-notifications? true
|
||||
:notification-indicator :unread-dot
|
||||
:counter-label 0}})
|
||||
:notification-indicator :counter
|
||||
:counter-label 7}})
|
||||
|
||||
(def one-to-one-group-community-chats2
|
||||
(merge
|
||||
|
@ -51,7 +51,7 @@
|
|||
:counter-label 7}
|
||||
:chats-stack {:new-notifications? true
|
||||
:notification-indicator :counter
|
||||
:counter-label 9}})
|
||||
:counter-label 19}})
|
||||
|
||||
(h/deftest-sub :shell/bottom-tabs-notifications-data
|
||||
[sub-name]
|
||||
|
|
Loading…
Reference in New Issue