Skip to content

Commit

Permalink
fix: model active indicator only show when model activated (janhq#1110)
Browse files Browse the repository at this point in the history
  • Loading branch information
urmauur authored Dec 20, 2023
1 parent e037021 commit c68d037
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions web/containers/Layout/BottomBar/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,12 @@ const BottomBar = () => {
)}
{!stateModel.loading && downloadedModels.length !== 0 && (
<SystemItem
name="Active model:"
name={activeModel?.id ? 'Active model:' : ''}
value={
activeModel?.id || (
<Badge themes="outline" className="pl-1">
<ShortCut menu="E" />
&nbsp; to show your model
&nbsp; to view models
</Badge>
)
}
Expand Down

0 comments on commit c68d037

Please sign in to comment.