From ccfe25c41cd5faea1bcd12ef2c70c17b23175b70 Mon Sep 17 00:00:00 2001 From: sunguangming Date: Thu, 23 May 2024 08:58:44 +0800 Subject: [PATCH] * Fix code error. --- module/productplan/js/view.ui.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/module/productplan/js/view.ui.js b/module/productplan/js/view.ui.js index bde79701e4..e1884624ef 100644 --- a/module/productplan/js/view.ui.js +++ b/module/productplan/js/view.ui.js @@ -77,12 +77,12 @@ window.setStatistics = function(element, checkedIdList, pageSummary) rows.forEach((row) => { if(checkedIdList.includes(row.id)) { - const story = element.getRowInfo(rowID); + const story = element.getRowInfo(row.id); if(story.data.type == 'story') { total += 1; checkedEstimate += parseFloat(story.data.estimate); - if(cases[rowID]) checkedCase += 1; + if(cases[row.id]) checkedCase += 1; } } });