Skip to content
Snippets Groups Projects
Commit e10f9a32 authored by Nithya's avatar Nithya
Browse files
Changes updated based on review comments
parent 2a2a4398
No related branches found
No related tags found
1 merge request!354Resolve TMSS-488
...@@ -48,7 +48,6 @@ export default (props) => { ...@@ -48,7 +48,6 @@ export default (props) => {
Promise.all(promises).then(responses => { Promise.all(promises).then(responses => {
const suQAProcess = responses[2].find(process => process.su === parseInt(props.match.params.id)); const suQAProcess = responses[2].find(process => process.su === parseInt(props.match.params.id));
const suQATask = responses[3].find(task => task.process === suQAProcess.id); const suQATask = responses[3].find(task => task.process === suQAProcess.id);
debugger
if (suQATask.status === 'NEW') { if (suQATask.status === 'NEW') {
setCurrentStep(RedirectionMap[suQATask.flow_task.toLowerCase()]); setCurrentStep(RedirectionMap[suQATask.flow_task.toLowerCase()]);
} else { } else {
...@@ -72,7 +71,6 @@ export default (props) => { ...@@ -72,7 +71,6 @@ export default (props) => {
Promise.all(promises).then(responses => { Promise.all(promises).then(responses => {
const suQAProcess = responses[0].find(process => process.su === parseInt(props.match.params.id)); const suQAProcess = responses[0].find(process => process.su === parseInt(props.match.params.id));
const suQATask = responses[1].find(task => task.process === suQAProcess.id); const suQATask = responses[1].find(task => task.process === suQAProcess.id);
debugger
setCurrentStep(RedirectionMap[suQATask.flow_task.toLowerCase()]); setCurrentStep(RedirectionMap[suQATask.flow_task.toLowerCase()]);
if (suQATask.status.toLowerCase() === 'done' || suQATask.status.toLowerCase() === 'finished') { if (suQATask.status.toLowerCase() === 'done' || suQATask.status.toLowerCase() === 'finished') {
setDisableNextButton(true) setDisableNextButton(true)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment