Changed labels in create folder modal / button (#958)

Signed-off-by: Benjamin Perez <benjamin@bexsoft.net>

Co-authored-by: Benjamin Perez <benjamin@bexsoft.net>
This commit is contained in:
Alex
2021-08-17 16:52:15 -05:00
committed by GitHub
parent 2debb11f03
commit a09be99ae6
2 changed files with 6 additions and 6 deletions

View File

@@ -65,7 +65,7 @@ const CreateFolderModal = ({
return ( return (
<React.Fragment> <React.Fragment>
<ModalWrapper modalOpen={modalOpen} title="Add Folder" onClose={onClose}> <ModalWrapper modalOpen={modalOpen} title="Choose or create a new path" onClose={onClose}>
<Grid container> <Grid container>
<h3 className={classes.pathLabel}> <h3 className={classes.pathLabel}>
Current Path: {folderTruncated}/ Current Path: {folderTruncated}/
@@ -73,10 +73,10 @@ const CreateFolderModal = ({
<Grid item xs={12}> <Grid item xs={12}>
<InputBoxWrapper <InputBoxWrapper
value={pathUrl} value={pathUrl}
label={"Folder Path"} label={"New Folder Path"}
id={"folderPath"} id={"folderPath"}
name={"folderPath"} name={"folderPath"}
placeholder={"Enter Folder Path"} placeholder={"Enter the new Folder Path"}
onChange={(e) => { onChange={(e) => {
setPathUrl(e.target.value); setPathUrl(e.target.value);
}} }}
@@ -98,7 +98,7 @@ const CreateFolderModal = ({
disabled={pathUrl.trim() === ""} disabled={pathUrl.trim() === ""}
onClick={createProcess} onClick={createProcess}
> >
Save Go
</Button> </Button>
</Grid> </Grid>
</Grid> </Grid>

View File

@@ -825,10 +825,10 @@ const ListObjects = ({
} }
actions={ actions={
<Fragment> <Fragment>
<Tooltip title={"Create Folder"}> <Tooltip title={"Choose or create a new path"}>
<IconButton <IconButton
color="primary" color="primary"
aria-label="Create Folder" aria-label="Choose or create a new path"
component="span" component="span"
onClick={() => { onClick={() => {
setCreateFolderOpen(true); setCreateFolderOpen(true);