|
|
@ -201,12 +201,16 @@ export class DeviceDropdown extends Component<Props> {
|
|
|
|
<span className="label">{ dev.instanceLabel }</span>
|
|
|
|
<span className="label">{ dev.instanceLabel }</span>
|
|
|
|
<span className="status">{ deviceStatus }</span>
|
|
|
|
<span className="status">{ deviceStatus }</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div className="forget-button" onMouseDown={ (event) => {
|
|
|
|
|
|
|
|
event.stopPropagation();
|
|
|
|
|
|
|
|
event.preventDefault();
|
|
|
|
|
|
|
|
this.onDeviceMenuClick({ type: 'forget', label: ''}, dev);
|
|
|
|
|
|
|
|
} }> </div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
);
|
|
|
|
);
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
return (
|
|
|
|
return (
|
|
|
|
<section>
|
|
|
|
<section>
|
|
|
|
{ currentDeviceMenu }
|
|
|
|
{ currentDeviceMenu }
|
|
|
|