fix missing pinned messages label (#20174)
This commit is contained in:
parent
49a41f4787
commit
f17484f61b
|
@ -187,11 +187,11 @@
|
|||
muted? (and muted (some? muted-till))
|
||||
mute-chat-label (if community-channel? :t/mute-channel :t/mute-chat)
|
||||
unmute-chat-label (if community-channel? :t/unmute-channel :t/unmute-chat)]
|
||||
|
||||
[quo/channel-actions
|
||||
{:actions [{:accessibility-label :action-button-pinned
|
||||
{:actions
|
||||
[{:accessibility-label :action-button-pinned
|
||||
:big? true
|
||||
:label (or latest-pin-text (i18n/label :t/no-pinned-messages))
|
||||
:label (if (pos? pins-count) latest-pin-text (i18n/label :t/no-pinned-messages))
|
||||
:customization-color cover-bg-color
|
||||
:icon :i/pin
|
||||
:counter-value pins-count
|
||||
|
|
Loading…
Reference in New Issue