Add the deviceId back to memberdeviceinfo

It was removed by @ara4n in 5fa5489, but it's still useful!
This commit is contained in:
Richard van der Hoff 2016-09-22 19:28:50 +01:00
parent 2f7b4f74fd
commit dd2da20031

View file

@ -46,8 +46,10 @@ export default class MemberDeviceInfo extends React.Component {
(this.props.device.getDisplayName() ? this.props.device.getDisplayName() : "") + " (" + this.props.device.deviceId + ")" :
this.props.device.getDisplayName();
// add the deviceId as a titletext to help with debugging
return (
<div className="mx_MemberDeviceInfo" >
<div className="mx_MemberDeviceInfo"
title={"device id: " + this.props.device.deviceId} >
<div className="mx_MemberDeviceInfo_deviceInfo">
<div className="mx_MemberDeviceInfo_deviceId">
{deviceName}