From 3b5bca79f9bbce4685ed45a1a39763b07c6b99cd Mon Sep 17 00:00:00 2001 From: sairaj mote Date: Thu, 18 Jun 2020 12:34:47 +0530 Subject: [PATCH] fixed bug with intern assignment --- index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index c805518..3d4a63f 100644 --- a/index.html +++ b/index.html @@ -13383,8 +13383,8 @@ x = RIBC.getProjectMap(newPList[i])[branch].slice(4); for(let j = 0;j < x.length; j++) if(RIBC.getTaskStatus(newPList[i], branch, x[j]) === 'incomplete' && Array.isArray(RIBC.getAssignedInterns(newPList[i],branch,x[j])) && RIBC.getAssignedInterns(newPList[i],branch,x[j]).includes(myFloID)){ - currentTaskObj.project = pList[i]; - currentTaskObj.projectName = RIBC.getProjectDetails(pList[i]).projectName; + currentTaskObj.project = newPList[i]; + currentTaskObj.projectName = RIBC.getProjectDetails(newPList[i]).projectName; currentTaskObj.pBranch = branch; currentTaskObj.task = x[j] break;