mirror of
https://github.com/element-hq/element-web
synced 2024-11-24 02:05:45 +03:00
Merge pull request #386 from matrix-org/rav/default_to_device_id
DevicesPanel: use device_id as a placeholder
This commit is contained in:
commit
3780d82f6f
1 changed files with 3 additions and 1 deletions
|
@ -111,7 +111,9 @@ export default class DevicesPanelEntry extends React.Component {
|
||||||
<div className="mx_DevicesPanel_device">
|
<div className="mx_DevicesPanel_device">
|
||||||
<div className="mx_DevicesPanel_deviceName">
|
<div className="mx_DevicesPanel_deviceName">
|
||||||
<EditableTextContainer initialValue={device.display_name}
|
<EditableTextContainer initialValue={device.display_name}
|
||||||
onSubmit={this._onDisplayNameChanged} />
|
onSubmit={this._onDisplayNameChanged}
|
||||||
|
placeholder={device.device_id}
|
||||||
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div className="mx_DevicesPanel_lastSeen">
|
<div className="mx_DevicesPanel_lastSeen">
|
||||||
{lastSeen}
|
{lastSeen}
|
||||||
|
|
Loading…
Reference in a new issue