diff --git a/src/redux/actions/CL-Transcription/SaveTranscript.js b/src/redux/actions/CL-Transcription/SaveTranscript.js index 19c7acce..d8c9040d 100644 --- a/src/redux/actions/CL-Transcription/SaveTranscript.js +++ b/src/redux/actions/CL-Transcription/SaveTranscript.js @@ -9,7 +9,7 @@ export default class SaveTranscriptAPI extends API { super("PATCH", timeout, false); this.GlossaryObj = GlossaryObj; //this.type = constants.Add_GLOSSARY; - this.endpoint = `${super.apiEndPointAuto()}${ENDPOINTS.annotations}${annotationsId}/?cl_format=True`; + this.endpoint = `${super.apiEndPointAuto()}${ENDPOINTS.annotations}${annotationsId}/?cl_format=true`; } processResponse(res) { diff --git a/src/ui/pages/container/CL-Transcription/AudioTranscriptionLandingPage.jsx b/src/ui/pages/container/CL-Transcription/AudioTranscriptionLandingPage.jsx index c92d838e..a07922c7 100644 --- a/src/ui/pages/container/CL-Transcription/AudioTranscriptionLandingPage.jsx +++ b/src/ui/pages/container/CL-Transcription/AudioTranscriptionLandingPage.jsx @@ -1203,7 +1203,7 @@ useEffect(() => { - {ProjectDetails?.metadata_json?.acoustic_enabled_stage >=2 || ProjectDetails?.project_stage >=2 && + {ProjectDetails?.metadata_json?.acoustic_enabled_stage <=1 && } @@ -1218,7 +1218,7 @@ useEffect(() => { player={player} ProjectDetails={ProjectDetails} TaskDetails={taskData} - stage={2} + stage={tabValue+2} handleStdTranscriptionSettings={setStdTranscriptionSettings} advancedWaveformSettings={advancedWaveformSettings} setAdvancedWaveformSettings={setAdvancedWaveformSettings} diff --git a/src/ui/pages/container/CL-Transcription/ReviewAudioTranscriptionLandingPage.jsx b/src/ui/pages/container/CL-Transcription/ReviewAudioTranscriptionLandingPage.jsx index e001239c..04a5d033 100644 --- a/src/ui/pages/container/CL-Transcription/ReviewAudioTranscriptionLandingPage.jsx +++ b/src/ui/pages/container/CL-Transcription/ReviewAudioTranscriptionLandingPage.jsx @@ -1423,7 +1423,7 @@ useEffect(() => { - {ProjectDetails?.metadata_json?.acoustic_enabled_stage >=2 || ProjectDetails?.project_stage >=2 && + {ProjectDetails?.metadata_json?.acoustic_enabled_stage <=2 && } diff --git a/src/ui/pages/container/CL-Transcription/SuperCheckerAudioTranscriptionLandingPage.jsx b/src/ui/pages/container/CL-Transcription/SuperCheckerAudioTranscriptionLandingPage.jsx index 9eda8186..28616a16 100644 --- a/src/ui/pages/container/CL-Transcription/SuperCheckerAudioTranscriptionLandingPage.jsx +++ b/src/ui/pages/container/CL-Transcription/SuperCheckerAudioTranscriptionLandingPage.jsx @@ -1238,9 +1238,15 @@ useEffect(() => { + {ProjectDetails?.metadata_json?.acoustic_enabled_stage ==3 && + + } + + {ProjectDetails?.metadata_json?.acoustic_enabled_stage <=2 && + - {ProjectDetails?.metadata_json?.acoustic_enabled_stage >=2 && + } @@ -1254,7 +1260,7 @@ useEffect(() => { player={player} ProjectDetails={ProjectDetails} TaskDetails={taskDetailList} - stage={tabValue+2} + stage={ProjectDetails?.metadata_json?.acoustic_enabled_stage <=2 ? tabValue+2 : 3} handleStdTranscriptionSettings={setStdTranscriptionSettings} advancedWaveformSettings={advancedWaveformSettings} setAdvancedWaveformSettings={setAdvancedWaveformSettings}