Skip to content

Commit

Permalink
Merge pull request #929 from AI4Bharat/waveSurfer
Browse files Browse the repository at this point in the history
added reload for next task
  • Loading branch information
aparna-aa authored Feb 22, 2024
2 parents 61aaa12 + e6a5afc commit 4d16e11
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,7 @@ const AllAudioTranscriptionLandingPage = () => {
const tasksComplete = (id) => {
if (id) {
navigate(`/projects/${projectId}/AllAudioTranscriptionLandingPage/${id}`);
window.location.reload();
} else {
setSnackbarInfo({
open: true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -529,6 +529,7 @@ const AudioTranscriptionLandingPage = () => {
// resetNotes();
// navigate(`/projects/${projectId}/task/${id}`, {replace: true});
navigate(`/projects/${projectId}/AudioTranscriptionLandingPage/${id}`);
window.location.reload();
} else {
// navigate(-1);
// resetNotes();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -551,6 +551,7 @@ const ReviewAudioTranscriptionLandingPage = () => {
navigate(
`/projects/${projectId}/ReviewAudioTranscriptionLandingPage/${id}`
);
window.location.reload();
} else {
// navigate(-1);
// resetNotes();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -471,6 +471,7 @@ const SuperCheckerAudioTranscriptionLandingPage = () => {
navigate(
`/projects/${projectId}/SuperCheckerAudioTranscriptionLandingPage/${id}`
);
window.location.reload();
} else {
// navigate(-1);
// resetNotes();
Expand Down

0 comments on commit 4d16e11

Please sign in to comment.