BuildOrder: Fix bug where test templates are requested for a non-trackable output (#6387) (#6388)

(cherry picked from commit c9c93bce39)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
This commit is contained in:
github-actions[bot] 2024-02-02 16:19:56 +11:00 committed by GitHub
parent c826b8231f
commit 75f507d4c7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 1 deletions

View File

@ -1089,7 +1089,7 @@ function loadBuildOutputTable(build_info, options={}) {
var params = options.params || {};
// test templates for the part being assembled
let test_templates = null;
let test_templates = [];
// tracked line items for this build
let has_tracked_lines = false;
@ -1133,6 +1133,9 @@ function loadBuildOutputTable(build_info, options={}) {
test_templates.push(item);
}
});
},
error: function() {
test_templates = [];
}
}
);