Fix the issue that user can not upgrade catalog

This commit is contained in:
loganhz 2018-11-15 09:16:55 +08:00
parent ae2f5b7cb4
commit dae61ee200
1 changed files with 2 additions and 1 deletions

View File

@ -10,12 +10,13 @@ const App = Resource.extend(StateCounts, EndpointPorts, {
catalog: service(),
router: service(),
clusterStore: service(),
globalStore: service(),
canEdit: false,
canClone: true,
namespace: reference('targetNamespace', 'namespace', 'clusterStore'),
catalogTemplate: reference('externalIdInfo.templateId', 'template'),
catalogTemplate: reference('externalIdInfo.templateId', 'template', 'globalStore'),
init() {
this._super(...arguments);