fix: model active indicator only show when model activated (#1110)
This commit is contained in:
parent
e0370210a7
commit
c68d0371a0
@ -46,12 +46,12 @@ const BottomBar = () => {
|
|||||||
)}
|
)}
|
||||||
{!stateModel.loading && downloadedModels.length !== 0 && (
|
{!stateModel.loading && downloadedModels.length !== 0 && (
|
||||||
<SystemItem
|
<SystemItem
|
||||||
name="Active model:"
|
name={activeModel?.id ? 'Active model:' : ''}
|
||||||
value={
|
value={
|
||||||
activeModel?.id || (
|
activeModel?.id || (
|
||||||
<Badge themes="outline" className="pl-1">
|
<Badge themes="outline" className="pl-1">
|
||||||
<ShortCut menu="E" />
|
<ShortCut menu="E" />
|
||||||
to show your model
|
to view models
|
||||||
</Badge>
|
</Badge>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user