Skip to content

Commit

Permalink
Merge pull request #876 from AI4Bharat/develop
Browse files Browse the repository at this point in the history
  • Loading branch information
ishvindersethi22 authored Dec 23, 2023
2 parents 89e8d60 + 3c61911 commit f207712
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/ui/Layout.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ const Layout= (props) => {
{/* {renderSpinner()}
{renderError()} */}
{ Backbutton &&
< BackButton startIcon={< ArrowBackIcon />} sx={{ color:"white" , mb:2 }} backPressNavigationPath={backPressNavigationPath ? backPressNavigationPath : ""} label={translate("label.backToPreviousPage")}/>
< BackButton startIcon={< ArrowBackIcon />} sx={{ color:"white" , mb:2 ,mt:2 }} backPressNavigationPath={backPressNavigationPath ? backPressNavigationPath : ""} label={translate("label.backToPreviousPage")}/>
}
<Suspense fallback={<div>Loading....</div>}>
{component}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@ const AllAudioTranscriptionLandingPage = () => {
startIcon={<ArrowBackIcon />}
variant="contained"
color="primary"
sx={{ ml: 1 }}
sx={{ ml: 1 ,mt:2}}
onClick={() => {
localStorage.removeItem("labelAll");
navigate(`/projects/${projectId}`);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -845,7 +845,7 @@ useEffect(() => {
startIcon={<ArrowBackIcon />}
variant="contained"
color="primary"
sx={{ ml: 1 }}
sx={{ ml: 1 ,mt:2}}
onClick={() => {
localStorage.removeItem("labelAll");
navigate(`/projects/${projectId}`);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1040,7 +1040,7 @@ useEffect(() => {
startIcon={<ArrowBackIcon />}
variant="contained"
color="primary"
sx={{ ml: 1 }}
sx={{ ml: 1 ,mt:2}}
onClick={() => {
localStorage.removeItem("labelAll");
navigate(`/projects/${projectId}`);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -888,7 +888,7 @@ useEffect(() => {
startIcon={<ArrowBackIcon />}
variant="contained"
color="primary"
sx={{ ml: 1 }}
sx={{ ml: 1 ,mt:2}}
onClick={() => {
localStorage.removeItem("labelAll");
navigate(`/projects/${projectId}`);
Expand Down
1 change: 1 addition & 0 deletions src/ui/pages/container/Label-Studio/AllTaskLSF.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -508,6 +508,7 @@ export default function LSF() {
startIcon={< ArrowBackIcon />}
variant="contained"
color="primary"
sx={{mt:2}}
onClick={() => {
localStorage.removeItem("labelAll");
navigate(`/projects/${projectId}`);
Expand Down
1 change: 1 addition & 0 deletions src/ui/pages/container/Label-Studio/LSF.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -1075,6 +1075,7 @@ export default function LSF() {
startIcon={<ArrowBackIcon />}
variant="contained"
color="primary"
sx={{mt:2}}
onClick={() => {
localStorage.removeItem("labelAll");
navigate(`/projects/${projectId}`);
Expand Down
1 change: 1 addition & 0 deletions src/ui/pages/container/Label-Studio/ReviewLSF.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -1366,6 +1366,7 @@ console.log(reviewtext,annotationtext);
startIcon={<ArrowBackIcon />}
variant="contained"
color="primary"
sx={{mt:2}}
onClick={() => {
localStorage.removeItem("labelAll");
navigate(`/projects/${projectId}`);
Expand Down
1 change: 1 addition & 0 deletions src/ui/pages/container/Label-Studio/SuperCheckerLSF.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -1102,6 +1102,7 @@ export default function LSF() {
startIcon={<ArrowBackIcon />}
variant="contained"
color="primary"
sx={{mt:2}}
onClick={() => {
localStorage.removeItem("labelAll");
navigate(`/projects/${projectId}`);
Expand Down
2 changes: 1 addition & 1 deletion src/ui/pages/container/Project/AnnotateTask.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ const AnnotateTask = () => {
variant="contained"
color="primary"
startIcon={< ArrowBackIcon />}
sx={{ color:"white" , mb:2 }}
sx={{ color:"white" , mb:2 ,mt:2}}
onClick={() => navigate(`/projects/${urlParams?.projectId}`)}
>
{translate("label.backToProject")}
Expand Down

0 comments on commit f207712

Please sign in to comment.