restyle unknown devices dialog
This commit is contained in:
parent
7d2c6fbd0b
commit
3b10b8042a
3 changed files with 18 additions and 41 deletions
|
@ -30,7 +30,7 @@ export default class MemberDeviceInfo extends React.Component {
|
|||
mx_MemberDeviceInfo_icon_unverified: this.props.device.isUnverified(),
|
||||
});
|
||||
const indicator = (<div className={iconClasses} />);
|
||||
const deviceName = this.props.device.ambiguous ?
|
||||
const deviceName = (this.props.device.ambiguous || this.props.showDeviceId) ?
|
||||
(this.props.device.getDisplayName() ? this.props.device.getDisplayName() : "") + " (" + this.props.device.deviceId + ")" :
|
||||
this.props.device.getDisplayName();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue