mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
UX: fix new group chat cancel i18n label (#24554)
This commit is contained in:
@@ -18,7 +18,6 @@ export default class NewGroup extends Component {
|
||||
@tracked newGroupTitle = "";
|
||||
|
||||
placeholder = I18n.t("chat.direct_message_creator.group_name");
|
||||
cancelLabel = I18n.t("cancel");
|
||||
|
||||
get membersCount() {
|
||||
return this.args.members?.length;
|
||||
@@ -79,7 +78,7 @@ export default class NewGroup extends Component {
|
||||
<div class="chat-message-creator__new-group-footer">
|
||||
<DButton
|
||||
class="btn-primary btn-flat"
|
||||
@label={{this.cancelLabel}}
|
||||
@label="cancel"
|
||||
@action={{@cancel}}
|
||||
/>
|
||||
<DButton
|
||||
|
||||
Reference in New Issue
Block a user