basic verification UI
This commit is contained in:
parent
d8770b2b41
commit
8bda0bb095
4 changed files with 60 additions and 13 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue