Skip to content

Commit

Permalink
Merge pull request #86 from shikshalokam/fixSync
Browse files Browse the repository at this point in the history
status empty check
  • Loading branch information
aks30 authored May 11, 2022
2 parents 9e55e1a + aa6d42c commit 61a3a71
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion module/userProjects/helper.js
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,9 @@ module.exports = class UserProjectsHelper {
}
}

updateProject.status = UTILS.convertProjectStatus(data.status);
if ( data.status && data.status !== "" ) {
updateProject.status = UTILS.convertProjectStatus(data.status);
}

if ( data.status == CONSTANTS.common.COMPLETED_STATUS || data.status == CONSTANTS.common.SUBMITTED_STATUS ) {
updateProject.completedDate = new Date();
Expand Down

0 comments on commit 61a3a71

Please sign in to comment.