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

This commit is contained in:
Sunil G 2018-04-20 22:28:36 +05:30
parent fd24fd0ff7
commit a11ce19f47
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}`