Переглянути джерело

Merge branch '1.1.3-master_web' of http://8.130.72.63:18081/shenzhen/tjdify into 1.1.3-master

CzRger 1 місяць тому
батько
коміт
1ee53d6b1e

+ 8 - 9
web/app/components/header/account-setting/data-source-page/panel/index.tsx

@@ -8,7 +8,6 @@ import ConfigItem from './config-item'
 
 import s from './style.module.css'
 import { DataSourceType } from './types'
-import Button from '@/app/components/base/button'
 import { DataSourceProvider } from '@/models/common'
 import cn from '@/utils/classnames'
 
@@ -66,14 +65,14 @@ const Panel: FC<Props> = ({
           <>
             {
               isConfigured
-                ? (
-                  <Button
-                    disabled={readOnly}
-                    className='ml-3'
-                    onClick={onConfigure}
-                  >
-                    {t('common.dataSource.configure')}
-                  </Button>
+                ? (<></>
+              // <Button
+              //   disabled={readOnly}
+              //   className='ml-3'
+              //   onClick={onConfigure}
+              // >
+              //   {t('common.dataSource.configure')}
+              // </Button>
                 )
                 : (
                   <>