You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-10 09:22:25 +03:00
MemberDeviceInfo: Use the device name, where available
we now have device name for e2e devices: use it!
This commit is contained in:
@@ -97,9 +97,11 @@ module.exports = React.createClass({
|
||||
);
|
||||
}
|
||||
|
||||
var deviceName = this.props.device.display_name || this.props.device.id;
|
||||
|
||||
return (
|
||||
<div className="mx_MemberDeviceInfo">
|
||||
<div className="mx_MemberDeviceInfo_deviceId">{this.props.device.id}</div>
|
||||
<div className="mx_MemberDeviceInfo_deviceId">{deviceName}</div>
|
||||
{indicator}
|
||||
{verifyButton}
|
||||
{blockButton}
|
||||
|
||||
Reference in New Issue
Block a user