improv: ui
This commit is contained in:
parent
7a43ce58ed
commit
d47c1f5b4d
1 changed files with 1 additions and 5 deletions
|
|
@ -17,11 +17,7 @@ const ContextStatus = () => {
|
|||
return null;
|
||||
}
|
||||
|
||||
const barColorClass = isPruned
|
||||
? "bg-error"
|
||||
: percent > 80
|
||||
? "bg-warning"
|
||||
: "bg-description";
|
||||
const barColorClass = isPruned ? "bg-error" : "bg-description";
|
||||
|
||||
return (
|
||||
<div>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue