prevent icons flashing white on page reload

This commit is contained in:
proddy
2026-06-14 17:04:07 +02:00
parent fe8cf2620d
commit cdc5011eb6
2 changed files with 3 additions and 0 deletions

View File

@@ -336,6 +336,7 @@ const Dashboard = memo(() => {
size="small"
aria-label={LL.RUN_COMMAND()}
onClick={() => editDashboardValue(di)}
style={{ backgroundColor: 'transparent' }}
>
<PlayArrowIcon
color="primary"
@@ -349,6 +350,7 @@ const Dashboard = memo(() => {
LL.CHANGE_VALUE() + ' ' + LL.VALUE(0)
}
onClick={() => editDashboardValue(di)}
style={{ backgroundColor: 'transparent' }}
>
<EditIcon
color="primary"

View File

@@ -777,6 +777,7 @@ const Devices = memo(() => {
<IconButton
size="small"
onClick={() => showDeviceValue(dv)}
style={{ backgroundColor: 'transparent' }}
>
{dv.v === '' ? (
<PlayArrowIcon color="primary" sx={{ fontSize: 16 }} />