diff --git a/app/controllers/dashboard.controller.js b/app/controllers/dashboard.controller.js index 51d2b21..773fd6a 100644 --- a/app/controllers/dashboard.controller.js +++ b/app/controllers/dashboard.controller.js @@ -168,7 +168,7 @@ exports.adminDashboard = async (req, res) => { } - const lastConfig = await QuarterlyWindowsConfiguration.findOne({ where: whereCond }); + const QuarterlyWindows = await QuarterlyWindowsConfiguration.findOne({ where: whereCond }); const whereCond = {}; if (quarter) whereCond.quarter = quarter; @@ -234,6 +234,7 @@ exports.adminDashboard = async (req, res) => { pending: pendingCount, not_started: notStartedCount, }, + quarterly_windows : QuarterlyWindows, recent_submissions: recentSubmissions, });