mirror of
https://github.com/arc53/DocsGPT.git
synced 2025-12-14 03:41:22 +00:00
feat: add a row for no chatbot state
This commit is contained in:
@@ -62,7 +62,8 @@
|
|||||||
"name": "Name",
|
"name": "Name",
|
||||||
"key": "API Key",
|
"key": "API Key",
|
||||||
"sourceDoc": "Source Document",
|
"sourceDoc": "Source Document",
|
||||||
"createNew": "Create New"
|
"createNew": "Create New",
|
||||||
|
"noData": "No existing Chatbots"
|
||||||
},
|
},
|
||||||
"analytics": {
|
"analytics": {
|
||||||
"label": "Analytics"
|
"label": "Analytics"
|
||||||
|
|||||||
@@ -62,7 +62,8 @@
|
|||||||
"name": "Nombre",
|
"name": "Nombre",
|
||||||
"key": "Clave de API",
|
"key": "Clave de API",
|
||||||
"sourceDoc": "Documento Fuente",
|
"sourceDoc": "Documento Fuente",
|
||||||
"createNew": "Crear Nuevo"
|
"createNew": "Crear Nuevo",
|
||||||
|
"noData": "No hay chatbots existentes"
|
||||||
},
|
},
|
||||||
"analytics": {
|
"analytics": {
|
||||||
"label": "Analítica"
|
"label": "Analítica"
|
||||||
|
|||||||
@@ -62,7 +62,8 @@
|
|||||||
"name": "名前",
|
"name": "名前",
|
||||||
"key": "APIキー",
|
"key": "APIキー",
|
||||||
"sourceDoc": "ソースドキュメント",
|
"sourceDoc": "ソースドキュメント",
|
||||||
"createNew": "新規作成"
|
"createNew": "新規作成",
|
||||||
|
"noData": "既存のチャットボットはありません"
|
||||||
},
|
},
|
||||||
"analytics": {
|
"analytics": {
|
||||||
"label": "分析"
|
"label": "分析"
|
||||||
|
|||||||
@@ -62,7 +62,8 @@
|
|||||||
"name": "名称",
|
"name": "名称",
|
||||||
"key": "API 密钥",
|
"key": "API 密钥",
|
||||||
"sourceDoc": "源文档",
|
"sourceDoc": "源文档",
|
||||||
"createNew": "创建新的"
|
"createNew": "创建新的",
|
||||||
|
"noData": "没有现有的聊天机器人"
|
||||||
},
|
},
|
||||||
"analytics": {
|
"analytics": {
|
||||||
"label": "分析"
|
"label": "分析"
|
||||||
|
|||||||
@@ -116,6 +116,13 @@ export default function APIKeys() {
|
|||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
|
{!apiKeys?.length && (
|
||||||
|
<tr>
|
||||||
|
<td colSpan={4} className="border-r border-t p-4">
|
||||||
|
{t('settings.apiKeys.noData')}
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
)}
|
||||||
{apiKeys?.map((element, index) => (
|
{apiKeys?.map((element, index) => (
|
||||||
<tr key={index}>
|
<tr key={index}>
|
||||||
<td className="border-r border-t p-4">{element.name}</td>
|
<td className="border-r border-t p-4">{element.name}</td>
|
||||||
|
|||||||
Reference in New Issue
Block a user