1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-17 17:42:41 +03:00

basic verification UI

This commit is contained in:
Matthew Hodgson
2016-09-15 01:55:51 +01:00
parent d8770b2b41
commit 8bda0bb095
4 changed files with 60 additions and 13 deletions

View File

@@ -107,8 +107,13 @@ export default class DevicesPanelEntry extends React.Component {
);
}
var myDeviceClass = '';
if (device.device_id === MatrixClientPeg.get().getDeviceId()) {
myDeviceClass = " mx_DevicesPanel_myDevice";
}
return (
<div className="mx_DevicesPanel_device">
<div className={ "mx_DevicesPanel_device" + myDeviceClass }>
<div className="mx_DevicesPanel_deviceId">
{device.device_id}
</div>