make cmd shortcut list always show on bottom bar

This commit is contained in:
Faisal Amir 2024-01-05 15:59:45 +07:00
parent e38e9c7e45
commit a3dd868722

View File

@ -69,7 +69,6 @@ const BottomBar = () => {
My Models 
<ShortCut menu="E" />
</Badge>
{stateModel.state === 'start' && stateModel.loading && (
<SystemItem
titleBold
@ -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 &&