diff --git a/client/src/components/JobParameters/JobParameters.test.js b/client/src/components/JobParameters/JobParameters.test.js index 1ae053d0605..703d8389561 100644 --- a/client/src/components/JobParameters/JobParameters.test.js +++ b/client/src/components/JobParameters/JobParameters.test.js @@ -22,7 +22,7 @@ const localVue = createLocalVue(); localVue.use(Vuex); -describe("JobMetrics/JobMetrics.vue", () => { +describe("JobParameters/JobParameters.vue", () => { let actions; let state; let store; diff --git a/client/src/components/JobParameters/JobParameters.vue b/client/src/components/JobParameters/JobParameters.vue index e11e776f3ad..35714d36f52 100644 --- a/client/src/components/JobParameters/JobParameters.vue +++ b/client/src/components/JobParameters/JobParameters.vue @@ -129,7 +129,7 @@ export default { .then((data) => { this.hasParameterErrors = data.has_parameter_errors; this.parameters = data.parameters; - this.outputs = data.outputs; + this.outputs = data.outputs || {}; }) .catch((e) => { console.error(e);