Skip to content

Commit

Permalink
status check
Browse files Browse the repository at this point in the history
  • Loading branch information
priyanka-TL committed May 11, 2022
1 parent 9e55e1a commit aa6d42c
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 aa6d42c

Please sign in to comment.