mirror of
git://git.yoctoproject.org/yocto-autobuilder2.git
synced 2025-07-19 20:59:02 +02:00
yocto_console_view: Fix releaseselector for missing repos
If a field doesn't exist in the current build, allow the selector to still work (e.g. meta-arm branch in a-quick). Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
5393cf8be7
commit
2e1aaeede7
|
@ -52,7 +52,9 @@ class _releaseselectorfield {
|
|||
const result = [];
|
||||
for (let k in selector) {
|
||||
const v = selector[k];
|
||||
result.push(fields_ref[k].value = v);
|
||||
if (k in fields_ref) {
|
||||
result.push(fields_ref[k].value = v);
|
||||
}
|
||||
}
|
||||
return result;
|
||||
})();
|
||||
|
|
Loading…
Reference in New Issue
Block a user