diff --git a/src/components/views/settings/DevicesPanelEntry.tsx b/src/components/views/settings/DevicesPanelEntry.tsx index 3ce5374cf71..3480298f533 100644 --- a/src/components/views/settings/DevicesPanelEntry.tsx +++ b/src/components/views/settings/DevicesPanelEntry.tsx @@ -157,6 +157,16 @@ export default class DevicesPanelEntry extends React.Component { ; + const deviceName = device.display_name ? + + + { device.display_name } + + : + + { device.device_id } + ; + const buttons = this.state.renaming ?
{ { left }
- - { device.display_name } - + { deviceName }
{ lastSeen }