Skip to content

Commit

Permalink
fix: knowledge save button visible (#6905)
Browse files Browse the repository at this point in the history
  • Loading branch information
zxhlyh authored Aug 2, 2024
1 parent 33dab4f commit e683461
Showing 1 changed file with 11 additions and 13 deletions.
24 changes: 11 additions & 13 deletions web/app/components/datasets/settings/form/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -264,20 +264,18 @@ const Form = () => {
)}
</div>
</div>
{currentDataset?.embedding_available && (
<div className={rowClass}>
<div className={labelClass} />
<div className='w-[480px]'>
<Button
className='min-w-24'
variant='primary'
onClick={handleSave}
>
{t('datasetSettings.form.save')}
</Button>
</div>
<div className={rowClass}>
<div className={labelClass} />
<div className='w-[480px]'>
<Button
className='min-w-24'
variant='primary'
onClick={handleSave}
>
{t('datasetSettings.form.save')}
</Button>
</div>
)}
</div>
</div>
)
}
Expand Down

0 comments on commit e683461

Please sign in to comment.