Merge pull request 'Refactor project status options and remove "Suspended" status' (#5) from vaibhav_bug_Issue-#50 into Feature_Task_Management
Reviewed-on: #5
This commit is contained in:
commit
079dfb8861
@ -181,10 +181,10 @@ const ManageProjectInfo = ( {project,handleSubmitForm, onClose} ) =>
|
||||
<option value="1">Active</option>
|
||||
<option value="2">On Hold</option>
|
||||
|
||||
<option value="3">Suspended</option>
|
||||
<option value="4">Inactive</option>
|
||||
{/* <option value="3">Suspended</option> */}
|
||||
<option value="3">Inactive</option>
|
||||
|
||||
<option value="5">Completed</option>
|
||||
<option value="4">Completed</option>
|
||||
</select>
|
||||
{errors.projectStatusId && <div className="danger-text text-start" style={{fontSize:"12px"}}>{errors.projectStatusId.message}</div>}
|
||||
|
||||
|
@ -30,11 +30,11 @@ const ProjectCard = ( {projectData} ) =>
|
||||
return "Active";
|
||||
case 2:
|
||||
return "On Hold";
|
||||
// case 3:
|
||||
// return "Suspended";
|
||||
case 3:
|
||||
return "Suspended";
|
||||
case 4:
|
||||
return "Inactive";
|
||||
case 5:
|
||||
case 4:
|
||||
return "Completed";
|
||||
}
|
||||
};
|
||||
|
@ -6,13 +6,13 @@ export const ProjectStatus =(statusId)=>{
|
||||
case 2:
|
||||
return "On Hold"
|
||||
break;
|
||||
// case 3:
|
||||
// return "Suspended"
|
||||
// break;
|
||||
case 3:
|
||||
return "Suspended"
|
||||
break;
|
||||
case 4:
|
||||
return "Inactive"
|
||||
break;
|
||||
case 5:
|
||||
case 4:
|
||||
return "Completed"
|
||||
break;
|
||||
default:
|
||||
|
Loading…
x
Reference in New Issue
Block a user