mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-08 16:59:50 +03:00
only show blue icon for BBQKees boards
This commit is contained in:
@@ -47,16 +47,18 @@ const HardwareStatus = () => {
|
|||||||
<List>
|
<List>
|
||||||
<ListItem>
|
<ListItem>
|
||||||
<ListItemAvatar>
|
<ListItemAvatar>
|
||||||
<Avatar sx={{ bgcolor: '#003289', color: 'white' }}>
|
|
||||||
{data.model ? (
|
{data.model ? (
|
||||||
|
<Avatar sx={{ bgcolor: '#003289', color: 'white' }}>
|
||||||
<img
|
<img
|
||||||
src={BBQKeesIcon}
|
src={BBQKeesIcon}
|
||||||
style={{ width: 16, verticalAlign: 'middle' }}
|
style={{ width: 16, verticalAlign: 'middle' }}
|
||||||
/>
|
/>
|
||||||
) : (
|
|
||||||
<TapAndPlayIcon />
|
|
||||||
)}
|
|
||||||
</Avatar>
|
</Avatar>
|
||||||
|
) : (
|
||||||
|
<Avatar sx={{ bgcolor: '#5f9a5f', color: 'white' }}>
|
||||||
|
<TapAndPlayIcon />
|
||||||
|
</Avatar>
|
||||||
|
)}
|
||||||
</ListItemAvatar>
|
</ListItemAvatar>
|
||||||
<ListItemText
|
<ListItemText
|
||||||
primary={LL.HARDWARE() + ' ' + LL.DEVICE()}
|
primary={LL.HARDWARE() + ' ' + LL.DEVICE()}
|
||||||
|
|||||||
Reference in New Issue
Block a user