diff --git a/module/userProjects/helper.js b/module/userProjects/helper.js index 10124108..c98ca465 100644 --- a/module/userProjects/helper.js +++ b/module/userProjects/helper.js @@ -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();