Skip to content

Commit 1476b61

Browse files
committed
minor
1 parent 94595b3 commit 1476b61

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

src/views/DBTableManager.tsx

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ import {
3434
Chip,
3535
Collapse
3636
} from '@mui/material';
37+
3738
import DeleteIcon from '@mui/icons-material/Delete';
3839
import UploadFileIcon from '@mui/icons-material/UploadFile';
3940
import CloseIcon from '@mui/icons-material/Close';
@@ -570,7 +571,8 @@ export const DBTableSelectionDialog: React.FC<{ buttonElement: any }> = function
570571
</IconButton>
571572
</Tooltip>
572573
</Typography>
573-
{dbTables.length == 0 && <Typography variant="caption" sx={{color: "lightgray", p: 2, fontStyle: "italic"}}>no tables available</Typography>}
574+
{dbTables.length == 0 &&
575+
<Typography variant="caption" sx={{color: "lightgray", p: 2, fontStyle: "italic"}}>no tables available</Typography>}
574576
{dbTables.map((t, i) => (
575577
<Tab
576578
key={t.name}
@@ -598,7 +600,7 @@ export const DBTableSelectionDialog: React.FC<{ buttonElement: any }> = function
598600
value={selectedTabKey}
599601
sx={{py: 1}}
600602
>
601-
<Typography variant="caption" sx={{color: "text.secondary", fontWeight: "bold", px: 1}}>load external data</Typography>
603+
<Typography variant="caption" sx={{color: "text.secondary", fontWeight: "bold", px: 1}}>connect external data</Typography>
602604
{["mysql", "kusto", "file upload"].map((dataLoaderType, i) => (
603605
<Tab
604606
key={`dataLoader:${dataLoaderType}`}
@@ -620,8 +622,8 @@ export const DBTableSelectionDialog: React.FC<{ buttonElement: any }> = function
620622
<TabPanel key={""} sx={{width: 960, maxWidth: '100%'}} show={selectedTabKey === ''}>
621623
<Typography variant="caption" sx={{color: "text.secondary", fontWeight: "bold", px: 1}}>select a table or import data</Typography>
622624
</TabPanel>
623-
<TabPanel key={`dataLoader:file upload`} sx={{width: 960, maxWidth: '100%'}} show={selectedTabKey === 'dataLoader:file upload'}>
624-
{uploadFileButton(<Typography component="span" fontSize={12}>{isUploading ? 'uploading...' : 'upload file'}</Typography>)}
625+
<TabPanel key={`dataLoader:file upload`} sx={{width: 960, maxWidth: '100%', }} show={selectedTabKey === 'dataLoader:file upload'}>
626+
{uploadFileButton(<Typography component="span" fontSize={18} textTransform="none">{isUploading ? 'uploading...' : 'upload a csv/tsv file to the local database'}</Typography>)}
625627
</TabPanel>
626628
{["mysql", "kusto"].map((dataLoaderType, i) => (
627629
<TabPanel key={`dataLoader:${dataLoaderType}`} sx={{width: 960, maxWidth: '100%'}} show={selectedTabKey === 'dataLoader:' + dataLoaderType}>

0 commit comments

Comments
 (0)