fix: title for change group name & members dialog

pull/3206/head
Audric Ackermann 7 months ago
parent 122751ffe3
commit 8c0f6ea4e0

@ -184,7 +184,7 @@ export const UpdateGroupMembersDialog = (props: Props) => {
const showNoMembersMessage = existingMembers.length === 0;
const okText = window.i18n('okay');
const cancelText = window.i18n('cancel');
const titleText = window.i18n('groupName');
const titleText = window.i18n('groupMembers');
return (
<SessionWrapperModal title={titleText} onClose={closeDialog}>

@ -98,14 +98,13 @@ export class UpdateGroupNameDialog extends Component<Props, State> {
public render() {
const okText = window.i18n('okay');
const cancelText = window.i18n('cancel');
const titleText = window.i18n('groupInformationSet');
const errorMsg = this.state.errorMessage;
const isAdmin = !this.convo.isPublic();
return (
<SessionWrapperModal
title={titleText}
title={window.i18n('groupName')}
onClose={() => this.closeDialog()}
additionalClassName="update-group-dialog"
>
@ -131,7 +130,7 @@ export class UpdateGroupNameDialog extends Component<Props, State> {
<input
type="text"
value={this.state.groupName}
placeholder={window.i18n('groupName')}
placeholder={window.i18n('groupNameEnter')}
onChange={this.onGroupNameChanged}
tabIndex={0}
required={true}

Loading…
Cancel
Save