Don't show fw update icon when update is blocked (#1667)

This commit is contained in:
lucas lelievre
2025-12-11 08:35:46 +01:00
committed by GitHub

View File

@@ -80,7 +80,8 @@ export function FirmwareIcon({
<div>
{showUpdate &&
showUpdate !== 'unavailable' &&
showUpdate !== 'updated' && <UpdateIcon showUpdate={'can-update'} />}
showUpdate !== 'updated' &&
showUpdate !== 'blocked' && <UpdateIcon showUpdate={showUpdate} />}
</div>
);
}