mirror of https://github.com/rancher/ui.git
Fix workload edit issue
https://github.com/rancher/rancher/issues/12452
This commit is contained in:
parent
7358657f4d
commit
3db9c48d29
|
|
@ -38,7 +38,7 @@ export default Route.extend({
|
||||||
let promise = null;
|
let promise = null;
|
||||||
if (params.workloadId) {
|
if (params.workloadId) {
|
||||||
// Existing Service
|
// Existing Service
|
||||||
const promise = store.find('workload', params.workloadId).then((workload) => {
|
promise = store.find('workload', params.workloadId).then((workload) => {
|
||||||
return this.modelForExisting(workload, params);
|
return this.modelForExisting(workload, params);
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue