Commit dfbfc4fc by NGO THI HONG

fix report with warning

parent 69d8f75b
...@@ -234,7 +234,7 @@ CHK_pu.createReportWithWarning = function(operationList, isSearched = false) { ...@@ -234,7 +234,7 @@ CHK_pu.createReportWithWarning = function(operationList, isSearched = false) {
$('#notFoundReportWithWarning').addClass('d-none'); $('#notFoundReportWithWarning').addClass('d-none');
for (var i = 0; i < operationList.length; i++) { for (var i = 0; i < operationList.length; i++) {
if(operationList[i].warningReportList.length === 0) continue; if(!operationList[i].warningReportList || operationList[i].warningReportList.length === 0) continue;
//TODO aタグlist.html 転移処理 //TODO aタグlist.html 転移処理
var operationNameLi; var operationNameLi;
for (var j = 0; j < operationList[i].warningReportList.length; j++) for (var j = 0; j < operationList[i].warningReportList.length; j++)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment