diff --git a/client/src/components/Workflow/Editor/Attributes.vue b/client/src/components/Workflow/Editor/Attributes.vue index 3569dafa497..4bdb87ec1d2 100644 --- a/client/src/components/Workflow/Editor/Attributes.vue +++ b/client/src/components/Workflow/Editor/Attributes.vue @@ -136,7 +136,12 @@ export default { const versions = []; for (let i = 0; i < this.versions.length; i++) { const current_wf = this.versions[i]; - const update_time = format(Date.parse(current_wf.update_time), "MMM do yyyy"); + let update_time; + if (current_wf.update_time) { + update_time = `${format(Date.parse(current_wf.update_time), "MMM do yyyy")}, `; + } else { + update_time = ""; + } const label = `${current_wf.version + 1}: ${update_time}, ${current_wf.steps} steps`; versions.push({ version: i,