From 1e8f5e46f27d7e9418b0a0a5445599cf186850a8 Mon Sep 17 00:00:00 2001 From: Vishala09 <65274029+Vishala09@users.noreply.github.com> Date: Wed, 3 Jan 2024 16:49:49 -0800 Subject: [PATCH] Revert "Vishala LB and Task api fix" --- src/helpers/dashboardhelper.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/helpers/dashboardhelper.js b/src/helpers/dashboardhelper.js index ca534b894..0b85cb004 100644 --- a/src/helpers/dashboardhelper.js +++ b/src/helpers/dashboardhelper.js @@ -176,6 +176,7 @@ const dashboardhelper = function () { .endOf('week') .format('YYYY-MM-DD'); + let teamMemberIds = [userid] let teamMembers = []; @@ -210,6 +211,7 @@ const dashboardhelper = function () { .then((res)=>{ return res; }).catch((e)=>{}) } + } teamMemberIds = teamMembers.map(member => member._id);