mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-07-27 16:02:01 +08:00
This commit is contained in:
parent
d37490adc3
commit
adfaee7ab5
@ -439,8 +439,9 @@ const SettingsModal: FC<ISettingsModalProps> = ({
|
|||||||
<Button className='mr-2' onClick={onHide}>{t('common.operation.cancel')}</Button>
|
<Button className='mr-2' onClick={onHide}>{t('common.operation.cancel')}</Button>
|
||||||
<Button variant='primary' onClick={onClickSave} loading={saveLoading}>{t('common.operation.save')}</Button>
|
<Button variant='primary' onClick={onClickSave} loading={saveLoading}>{t('common.operation.save')}</Button>
|
||||||
</div>
|
</div>
|
||||||
</Modal >
|
|
||||||
{showAppIconPicker && (
|
{showAppIconPicker && (
|
||||||
|
<div onClick={e => e.stopPropagation()}>
|
||||||
<AppIconPicker
|
<AppIconPicker
|
||||||
onSelect={(payload) => {
|
onSelect={(payload) => {
|
||||||
setAppIcon(payload)
|
setAppIcon(payload)
|
||||||
@ -453,9 +454,10 @@ const SettingsModal: FC<ISettingsModalProps> = ({
|
|||||||
setShowAppIconPicker(false)
|
setShowAppIconPicker(false)
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
|
</div>
|
||||||
)}
|
)}
|
||||||
|
</Modal>
|
||||||
</>
|
</>
|
||||||
|
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
export default React.memo(SettingsModal)
|
export default React.memo(SettingsModal)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user