Skip to content

Commit 2c6708b

Browse files
authored
Don't show fw update icon when update is blocked (#1667)
2 parents 3276f6d + 2880623 commit 2c6708b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

gui/src/components/commons/FirmwareIcon.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,8 @@ export function FirmwareIcon({
8080
<div>
8181
{showUpdate &&
8282
showUpdate !== 'unavailable' &&
83-
showUpdate !== 'updated' && <UpdateIcon showUpdate={'can-update'} />}
83+
showUpdate !== 'updated' &&
84+
showUpdate !== 'blocked' && <UpdateIcon showUpdate={showUpdate} />}
8485
</div>
8586
);
8687
}

0 commit comments

Comments
 (0)