only show blue icon for BBQKees boards

This commit is contained in:
proddy
2024-08-30 11:10:22 +02:00
parent 67c3a652b7
commit ad386f7c8d

View File

@@ -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' }}
/> />
) : ( </Avatar>
) : (
<Avatar sx={{ bgcolor: '#5f9a5f', color: 'white' }}>
<TapAndPlayIcon /> <TapAndPlayIcon />
)} </Avatar>
</Avatar> )}
</ListItemAvatar> </ListItemAvatar>
<ListItemText <ListItemText
primary={LL.HARDWARE() + ' ' + LL.DEVICE()} primary={LL.HARDWARE() + ' ' + LL.DEVICE()}