瀏覽代碼

Revert "YARN-7956. [UI2] Avoid duplicating Components link under Services/<ServiceName>/Components. Contributed by Yesha Vora."

This reverts commit a11ce19f47bbca4ccb00b32b3ccbda5316a01ae0.
Sunil G 7 年之前
父節點
當前提交
7fd878813b

+ 2 - 1
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/src/main/webapp/app/controllers/yarn-component-instance.js

@@ -45,7 +45,8 @@ export default Ember.Controller.extend({
         text: `${serviceName} [${appId}]`,
         href: `#/yarn-app/${appId}/components?service=${serviceName}`
       }, {
-        text: 'Components'
+        text: 'Components',
+        href: `#/yarn-app/${appId}/components?service=${serviceName}`
       }, {
         text: `${componentName}`,
         href: `#/yarn-component-instances/${componentName}/components?service=${serviceName}&&appid=${appId}`

+ 2 - 1
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/src/main/webapp/app/controllers/yarn-component-instances.js

@@ -44,7 +44,8 @@ export default Ember.Controller.extend({
         text: `${serviceName} [${appId}]`,
         href: `#/yarn-app/${appId}/components?service=${serviceName}`
       }, {
-        text: 'Components'
+        text: 'Components',
+        href: `#/yarn-app/${appId}/components?service=${serviceName}`
       }, {
         text: `${componentName}`,
         href: `#/yarn-component-instances/${componentName}/info?service=${serviceName}&&appid=${appId}`