Skip to content

Commit

Permalink
make cmd shortcut list always show on bottom bar
Browse files Browse the repository at this point in the history
  • Loading branch information
urmauur committed Jan 8, 2024
1 parent e38e9c7 commit a3dd868
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions web/containers/Layout/BottomBar/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ const BottomBar = () => {
My Models 
<ShortCut menu="E" />
</Badge>

{stateModel.state === 'start' && stateModel.loading && (
<SystemItem
titleBold
Expand All @@ -85,7 +84,11 @@ const BottomBar = () => {
/>
)}
{!stateModel.loading && downloadedModels.length !== 0 && (
<SystemItem titleBold name={'Active model'} value={activeModel?.id} />
<SystemItem
titleBold
name={activeModel?.id ? 'Active model' : ''}
value={activeModel?.id}
/>
)}
{downloadedModels.length === 0 &&
!stateModel.loading &&
Expand Down

0 comments on commit a3dd868

Please sign in to comment.