fix missing pinned messages label (#20174)

This commit is contained in:
Parvesh Monu 2024-05-25 00:00:46 +05:30 committed by GitHub
parent 49a41f4787
commit f17484f61b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 22 additions and 22 deletions

View File

@ -187,11 +187,11 @@
muted? (and muted (some? muted-till)) muted? (and muted (some? muted-till))
mute-chat-label (if community-channel? :t/mute-channel :t/mute-chat) mute-chat-label (if community-channel? :t/mute-channel :t/mute-chat)
unmute-chat-label (if community-channel? :t/unmute-channel :t/unmute-chat)] unmute-chat-label (if community-channel? :t/unmute-channel :t/unmute-chat)]
[quo/channel-actions [quo/channel-actions
{:actions [{:accessibility-label :action-button-pinned {:actions
[{:accessibility-label :action-button-pinned
:big? true :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 :customization-color cover-bg-color
:icon :i/pin :icon :i/pin
:counter-value pins-count :counter-value pins-count