Fix workload edit issue

https://github.com/rancher/rancher/issues/12452
This commit is contained in:
loganhz 2018-04-08 14:16:55 +08:00
parent 7358657f4d
commit 3db9c48d29
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ export default Route.extend({
let promise = null;
if (params.workloadId) {
// Existing Service
const promise = store.find('workload', params.workloadId).then((workload) => {
promise = store.find('workload', params.workloadId).then((workload) => {
return this.modelForExisting(workload, params);
});
} else {