[#4550] fix delete group chat label
This commit is contained in:
parent
2136fe62ce
commit
2e62e945ff
|
@ -340,7 +340,7 @@
|
||||||
[re-frame/trim-v]
|
[re-frame/trim-v]
|
||||||
(fn [_ [chat-id group?]]
|
(fn [_ [chat-id group?]]
|
||||||
{:show-confirmation {:title (i18n/label :t/delete-confirmation)
|
{:show-confirmation {:title (i18n/label :t/delete-confirmation)
|
||||||
:content (i18n/label (if group? :t/delete-group-chat-confirmation :t/delete-chat-confirmation))
|
:content (i18n/label :t/delete-chat-confirmation)
|
||||||
:confirm-button-text (i18n/label :t/delete)
|
:confirm-button-text (i18n/label :t/delete)
|
||||||
:on-accept #(re-frame/dispatch [:remove-chat-and-navigate-home chat-id])}}))
|
:on-accept #(re-frame/dispatch [:remove-chat-and-navigate-home chat-id])}}))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue