Merge pull request #1838 from Brice-W/minor-fixes

Minor fixes
pull/1847/head
Audric Ackermann 4 years ago committed by GitHub
commit aca7fc7473
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -48,7 +48,7 @@ function renderChange(change: PropsForGroupUpdateType) {
const people = isTypeWithContact(change) ? getPeople(change) : [];
switch (change.type) {
case 'name':
return `${window.i18n('titleIsNow', [change.newName || ''])}.`;
return `${window.i18n('titleIsNow', [change.newName || ''])}`;
case 'add':
if (!change.contacts || !change.contacts.length) {
throw new Error('Group update add is missing contacts');

@ -99,6 +99,7 @@ export class UpdateGroupNameDialog extends React.Component<Props, State> {
{this.renderAvatar()}
<SpacerMD />
{isAdmin ? (
<input
type="text"
className="profile-name-input"
@ -109,8 +110,8 @@ export class UpdateGroupNameDialog extends React.Component<Props, State> {
required={true}
aria-required={true}
autoFocus={true}
disabled={!isAdmin}
/>
) : null}
<div className="session-modal__button-group">
<SessionButton text={cancelText} onClick={this.closeDialog} />

Loading…
Cancel
Save