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

(cherry picked from commit b6d94fad08)
This commit is contained in:
Sunil G 2018-04-23 13:32:09 +05:30
parent 3f72d077ff
commit f53e5e000a
2 changed files with 2 additions and 4 deletions

View File

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

View File

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