From 8097ba0df96882a7d18bb9385cadae1d26d800df Mon Sep 17 00:00:00 2001 From: jialin Date: Tue, 23 Jul 2024 17:08:47 +0800 Subject: [PATCH] fix: add woker modal text --- README.md | 2 +- src/locales/en-US/resources.ts | 2 +- src/pages/llmodels/config/index.ts | 38 ++++++++++++++++++++++++++++++ 3 files changed, 40 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index ef91e8c0..630db80c 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ npm install -g pnpm 3. Setup ``` -git clone https://github.com/seal-io/gpustack-ui/ +git clone https://github.com/gpustack/gpustack-ui/ ``` 4. Install dependencies diff --git a/src/locales/en-US/resources.ts b/src/locales/en-US/resources.ts index 0c37a529..21ae72bb 100644 --- a/src/locales/en-US/resources.ts +++ b/src/locales/en-US/resources.ts @@ -26,5 +26,5 @@ export default { 'resources.worker.add.step2.tips': 'Note: mytoken is the token obtained in the first step.', 'resources.worker.add.step3': - 'Refresh workers list, you can see the newly added worker.' + 'Refresh workers list, you will see the new worker.' }; diff --git a/src/pages/llmodels/config/index.ts b/src/pages/llmodels/config/index.ts index 711f1622..0af0f925 100644 --- a/src/pages/llmodels/config/index.ts +++ b/src/pages/llmodels/config/index.ts @@ -71,3 +71,41 @@ export const ActionList = [ icon: EditOutlined } ]; + +export const columns = [ + { + title: 'models.name', + dataIndex: 'name', + key: 'name' + }, + { + title: 'models.type', + dataIndex: 'type', + key: 'type' + }, + { + title: 'models.source', + dataIndex: 'source', + key: 'source' + }, + { + title: 'models.status', + dataIndex: 'status', + key: 'status' + }, + { + title: 'models.createdat', + dataIndex: 'createdAt', + key: 'createdAt' + }, + { + title: 'models.updatedat', + dataIndex: 'updatedAt', + key: 'updatedAt' + }, + { + title: 'models.action', + dataIndex: 'action', + key: 'action' + } +];