diff --git a/src/renderer/src/components/LocalBackupManager.tsx b/src/renderer/src/components/LocalBackupManager.tsx index fdc64222db..7e05efcb77 100644 --- a/src/renderer/src/components/LocalBackupManager.tsx +++ b/src/renderer/src/components/LocalBackupManager.tsx @@ -1,7 +1,7 @@ import { DeleteOutlined, ExclamationCircleOutlined, ReloadOutlined } from '@ant-design/icons' import { restoreFromLocal } from '@renderer/services/BackupService' import { formatFileSize } from '@renderer/utils' -import { Button, message, Modal, Table, Tooltip } from 'antd' +import { Button, message, Modal, Space, Table, Tooltip } from 'antd' import dayjs from 'dayjs' import { useCallback, useEffect, useState } from 'react' import { useTranslation } from 'react-i18next' @@ -214,6 +214,26 @@ export function LocalBackupManager({ visible, onClose, localBackupDir, restoreMe } } + const footerContent = ( + + + + + + ) + return ( } onClick={fetchBackupFiles} disabled={loading}> - {t('settings.data.local.backup.manager.refresh')} - , - , - - ]}> + footer={footerContent}>