feat: 合并代码后 系统设置 ui样式优化、bug修复、全局统一图标对齐等
This commit is contained in:
@@ -16,6 +16,12 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
For commercial licensing, please contact support@quantumnous.com
|
||||
*/
|
||||
import {
|
||||
RefreshCw as ActionRefreshCw,
|
||||
Plus as ActionPlus,
|
||||
KeyRound as ActionKeyRound,
|
||||
ShieldCheck as ActionShieldCheck,
|
||||
} from '@/components/common/icons/ActionIcons';
|
||||
import React, { useCallback, useEffect, useMemo, useState } from 'react';
|
||||
import {
|
||||
Button,
|
||||
@@ -31,7 +37,7 @@ import {
|
||||
TextArea,
|
||||
Toast,
|
||||
} from '@/components/ui';
|
||||
import { Cable, KeyRound, Plus, RefreshCw, ShieldCheck } from 'lucide-react';
|
||||
import { Cable } from 'lucide-react';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
import { API } from '../../helpers/api';
|
||||
import {
|
||||
@@ -360,13 +366,17 @@ const OrgConnectors = ({ orgId }) => {
|
||||
<div className='org-connector-actions'>
|
||||
<PageGuideTrigger guide={guide} />
|
||||
<Button
|
||||
icon={<RefreshCw size={16} />}
|
||||
icon={<ActionRefreshCw size={16} />}
|
||||
loading={loading}
|
||||
onClick={load}
|
||||
>
|
||||
{t('刷新')}
|
||||
</Button>
|
||||
<Button theme='solid' icon={<Plus size={16} />} onClick={openCreate}>
|
||||
<Button
|
||||
theme='solid'
|
||||
icon={<ActionPlus size={16} />}
|
||||
onClick={openCreate}
|
||||
>
|
||||
{t('配置 Connector')}
|
||||
</Button>
|
||||
</div>
|
||||
@@ -423,7 +433,7 @@ const OrgConnectors = ({ orgId }) => {
|
||||
</Button>
|
||||
<Button
|
||||
size='small'
|
||||
icon={<KeyRound size={14} />}
|
||||
icon={<ActionKeyRound size={14} />}
|
||||
onClick={() => {
|
||||
setSelected(row);
|
||||
setCredentialOpen(true);
|
||||
@@ -454,7 +464,7 @@ const OrgConnectors = ({ orgId }) => {
|
||||
</p>
|
||||
<Button
|
||||
theme='solid'
|
||||
icon={<ShieldCheck size={16} />}
|
||||
icon={<ActionShieldCheck size={16} />}
|
||||
onClick={() => {
|
||||
setGrant((current) => ({
|
||||
...current,
|
||||
|
||||
Reference in New Issue
Block a user