Changesets · Branches · Tags · Compare
| Changeset | 3efc28c9fe46283be5b99af338d6226db536601c9d55c0c0b8b1b6d32916f384 |
|---|---|
| Author | Dallin Romney <dallinromney@gmail.com> · 2025-07-18 02:46 +02:00 |
| Committer | Dallin Romney <dallinromney@gmail.com> · 2025-07-18 02:46 +02:00 |
| Parents | ef0e06d64dae |
1 file changed
modified gui/src/components/mainInput/ContextStatus.tsx +5 −1
| @@ -14,7 +14,11 @@ | ||
| 14 | 14 | return null; |
| 15 | 15 | } |
| 16 | 16 | |
| 17 | - const barColorClass = percent > 80 ? "bg-warning" : "bg-description"; | |
| 17 | + const barColorClass = isPruned | |
| 18 | + ? "bg-error" | |
| 19 | + : percent > 80 | |
| 20 | + ? "bg-warning" | |
| 21 | + : "bg-description"; | |
| 18 | 22 | |
| 19 | 23 | return ( |
| 20 | 24 | <div> |