mirror of
https://github.com/element-hq/element-web
synced 2024-11-27 19:56:47 +03:00
small fixes
This commit is contained in:
parent
030827f77d
commit
9e8a2eda1f
1 changed files with 2 additions and 3 deletions
|
@ -40,7 +40,6 @@ import MatrixClientPeg from "../../../MatrixClientPeg";
|
||||||
import E2EIcon from "../rooms/E2EIcon";
|
import E2EIcon from "../rooms/E2EIcon";
|
||||||
import withLegacyMatrixClient from "../../../utils/withLegacyMatrixClient";
|
import withLegacyMatrixClient from "../../../utils/withLegacyMatrixClient";
|
||||||
import {useEventEmitter} from "../../../hooks/useEventEmitter";
|
import {useEventEmitter} from "../../../hooks/useEventEmitter";
|
||||||
import {ContentRepo} from 'matrix-js-sdk';
|
|
||||||
|
|
||||||
const _disambiguateDevices = (devices) => {
|
const _disambiguateDevices = (devices) => {
|
||||||
const names = Object.create(null);
|
const names = Object.create(null);
|
||||||
|
@ -315,13 +314,13 @@ const UserOptionsSection = withLegacyMatrixClient(({matrixClient: cli, member, i
|
||||||
return (
|
return (
|
||||||
<div className="mx_UserInfo_container">
|
<div className="mx_UserInfo_container">
|
||||||
<h3>{ _t("Options") }</h3>
|
<h3>{ _t("Options") }</h3>
|
||||||
<div className="mx_UserInfo_buttons">
|
<div>
|
||||||
{ directMessageButton }
|
{ directMessageButton }
|
||||||
{ readReceiptButton }
|
{ readReceiptButton }
|
||||||
{ shareUserButton }
|
{ shareUserButton }
|
||||||
{ insertPillButton }
|
{ insertPillButton }
|
||||||
{ ignoreButton }
|
|
||||||
{ inviteUserButton }
|
{ inviteUserButton }
|
||||||
|
{ ignoreButton }
|
||||||
{ unverifyButton }
|
{ unverifyButton }
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue