iterate PR based on feedback
This commit is contained in:
parent
0c97d90fb9
commit
93eb9feaa7
1 changed files with 3 additions and 3 deletions
|
@ -1249,12 +1249,12 @@ export default class InviteDialog extends React.PureComponent<IInviteDialogProps
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
async onLinkClick(e) {
|
private async onLinkClick(e) {
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
selectText(e.target);
|
selectText(e.target);
|
||||||
}
|
}
|
||||||
|
|
||||||
onCopyClick = async e => {
|
private onCopyClick = async e => {
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
const target = e.target; // copy target before we go async and React throws it away
|
const target = e.target; // copy target before we go async and React throws it away
|
||||||
|
|
||||||
|
@ -1348,7 +1348,7 @@ export default class InviteDialog extends React.PureComponent<IInviteDialogProps
|
||||||
goButtonFn = this.startDm;
|
goButtonFn = this.startDm;
|
||||||
extraSection = <div className="mx_InviteDialog_section_hidden_suggestions_disclaimer">
|
extraSection = <div className="mx_InviteDialog_section_hidden_suggestions_disclaimer">
|
||||||
<span>{ _t("Some suggestions may be hidden for privacy.") }</span>
|
<span>{ _t("Some suggestions may be hidden for privacy.") }</span>
|
||||||
<p>{ _t("If you can’t see who you’re looking for, send them your invite link below.") }</p>
|
<p>{ _t("If you can't see who you’re looking for, send them your invite link below.") }</p>
|
||||||
</div>;
|
</div>;
|
||||||
const link = makeUserPermalink(MatrixClientPeg.get().getUserId());
|
const link = makeUserPermalink(MatrixClientPeg.get().getUserId());
|
||||||
footer = <div className="mx_InviteDialog_footer">
|
footer = <div className="mx_InviteDialog_footer">
|
||||||
|
|
Loading…
Reference in a new issue