Skip to content

Commit 4ebef86

Browse files
committed
feat(datasource): datasource api
1 parent 7f5a6f3 commit 4ebef86

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

frontend/src/views/ds/DatasourceItemCard.vue

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,17 @@ defineProps<{
1111
ds: any
1212
}>()
1313
14-
const getStatus = (status: string) => {
15-
if (status === 'Success') {
16-
return 'connected'
17-
}
18-
if (status === 'Fail') {
19-
return 'failed'
20-
}
21-
if (status === 'Checking') {
22-
return 'needs-verification'
23-
}
24-
}
14+
// const getStatus = (status: string) => {
15+
// if (status === 'Success') {
16+
// return 'connected'
17+
// }
18+
// if (status === 'Fail') {
19+
// return 'failed'
20+
// }
21+
// if (status === 'Checking') {
22+
// return 'needs-verification'
23+
// }
24+
// }
2525
2626
</script>
2727

0 commit comments

Comments
 (0)