Commit dbb36f0d by Jason Song

filter instance configs with null release for not latest config instances

parent c585adb6
......@@ -260,6 +260,10 @@ directive_module.directive('apollonspanel',
if (configs && configs.length > 0) {
configs.forEach(function (instanceConfig) {
var release = instanceConfig.release;
//filter dirty data
if (!release) {
return;
}
if (!groupedInstances[release.id]) {
groupedInstances[release.id] = [];
notLatestReleases.push(release);
......
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