Fix: use new button (#5384)
This commit is contained in:
parent
a3bd5eba02
commit
4c37847ea4
11 changed files with 24 additions and 11 deletions
|
|
@ -130,7 +130,7 @@ const ConfigFirecrawlModal: FC<Props> = ({
|
|||
</Button>
|
||||
<Button
|
||||
className='h-9 text-sm font-medium'
|
||||
type='primary'
|
||||
variant='primary'
|
||||
onClick={handleSave}
|
||||
loading={isSaving}
|
||||
>
|
||||
|
|
|
|||
|
|
@ -289,7 +289,7 @@ const ModelLoadBalancingEntryModal: FC<ModelModalProps> = ({
|
|||
</Button>
|
||||
<Button
|
||||
className='h-9 text-sm font-medium'
|
||||
type='primary'
|
||||
variant='primary'
|
||||
onClick={handleSave}
|
||||
disabled={loading || filteredRequiredFormSchemas.some(item => value[item.variable] === undefined)}
|
||||
>
|
||||
|
|
|
|||
|
|
@ -171,7 +171,7 @@ const ModelLoadBalancingModal = ({ provider, model, open = false, onClose, onSav
|
|||
<div className='flex items-center justify-end gap-2 mt-6'>
|
||||
<Button onClick={onClose}>{t('common.operation.cancel')}</Button>
|
||||
<Button
|
||||
type='primary'
|
||||
variant='primary'
|
||||
onClick={handleSave}
|
||||
disabled={
|
||||
loading
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue