Commit 5b59008
fix(dashboard): hide CPU temp card when sensor unavailable
On macOS the dashboard-api runs in Docker and can't read host
thermal sensors, so temp_c is always null. Instead of showing
"— N/A", just hide the card entirely. Linux/Windows with real
sensors still show it normally.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 708e20c commit 5b59008
1 file changed
Lines changed: 9 additions & 7 deletions
Lines changed: 9 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
265 | 265 | | |
266 | 266 | | |
267 | 267 | | |
268 | | - | |
269 | | - | |
270 | | - | |
271 | | - | |
272 | | - | |
273 | | - | |
274 | | - | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
275 | 277 | | |
276 | 278 | | |
277 | 279 | | |
| |||
0 commit comments