From 4ebef86a60282d4a159c6be1fd9d7075029fded9 Mon Sep 17 00:00:00 2001 From: junjun Date: Thu, 5 Jun 2025 10:21:28 +0800 Subject: [PATCH] feat(datasource): datasource api --- frontend/src/views/ds/DatasourceItemCard.vue | 22 ++++++++++---------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/frontend/src/views/ds/DatasourceItemCard.vue b/frontend/src/views/ds/DatasourceItemCard.vue index c3709a79..ee5e5698 100644 --- a/frontend/src/views/ds/DatasourceItemCard.vue +++ b/frontend/src/views/ds/DatasourceItemCard.vue @@ -11,17 +11,17 @@ defineProps<{ ds: any }>() -const getStatus = (status: string) => { - if (status === 'Success') { - return 'connected' - } - if (status === 'Fail') { - return 'failed' - } - if (status === 'Checking') { - return 'needs-verification' - } -} +// const getStatus = (status: string) => { +// if (status === 'Success') { +// return 'connected' +// } +// if (status === 'Fail') { +// return 'failed' +// } +// if (status === 'Checking') { +// return 'needs-verification' +// } +// }