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  My Models 
<ShortCut menu="E" /> <ShortCut menu="E" />
</Badge> </Badge>
{stateModel.state === 'start' && stateModel.loading && ( {stateModel.state === 'start' && stateModel.loading && (
<SystemItem <SystemItem
titleBold titleBold
@ -85,7 +84,11 @@ const BottomBar = () => {
/> />
)} )}
{!stateModel.loading && downloadedModels.length !== 0 && ( {!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 && {downloadedModels.length === 0 &&
!stateModel.loading && !stateModel.loading &&