diff --git a/apollo-portal/src/main/resources/static/config/history.html b/apollo-portal/src/main/resources/static/config/history.html index b91a5256c639fc742875caf57e3d47517f6308f6..e91fe6ae828972a1d526e6cef5df8052f927a248 100644 --- a/apollo-portal/src/main/resources/static/config/history.html +++ b/apollo-portal/src/main/resources/static/config/history.html @@ -37,7 +37,7 @@ 当前生效 -
+
@@ -50,7 +50,7 @@
+ ng-bind="release.baseInfo.name" ng-class="{'highlight':pageContext.scrollTo == release.baseInfo.id}">
diff --git a/apollo-portal/src/main/resources/static/scripts/directive/namespace-panel-directive.js b/apollo-portal/src/main/resources/static/scripts/directive/namespace-panel-directive.js index 0630671c97b807b45c72813ab3b61dedb4d8685e..e847ba01a7dcc23c91aabe47af3604c371f04e00 100644 --- a/apollo-portal/src/main/resources/static/scripts/directive/namespace-panel-directive.js +++ b/apollo-portal/src/main/resources/static/scripts/directive/namespace-panel-directive.js @@ -246,7 +246,7 @@ directive_module.directive('apollonspanel', } var groupedInstances = {}, - notLatestReleaseNames = []; + notLatestReleases = []; result.forEach(function (instance) { var configs = instance.configs; @@ -255,14 +255,14 @@ directive_module.directive('apollonspanel', var release = instanceConfig.release; if (!groupedInstances[release.name]) { groupedInstances[release.name] = []; - notLatestReleaseNames.push(release.name); + notLatestReleases.push(release); } groupedInstances[release.name].push(instance); }) } }); - namespace.notLatestReleaseNames = notLatestReleaseNames; + namespace.notLatestReleases = notLatestReleases; namespace.notLatestReleaseInstances = groupedInstances; }) diff --git a/apollo-portal/src/main/resources/static/views/component/namespace-panel.html b/apollo-portal/src/main/resources/static/views/component/namespace-panel.html index 0d923bc4d5a67be44b1403edb4fddd7d6d9399b2..64f26de94572e0c24629b50ed3960f06c7566573 100644 --- a/apollo-portal/src/main/resources/static/views/component/namespace-panel.html +++ b/apollo-portal/src/main/resources/static/views/component/namespace-panel.html @@ -375,7 +375,7 @@