fix: Error run process, output is undefined. (#510)
parent
dd8baa56bf
commit
19e3690a9a
|
@ -399,7 +399,9 @@ const processControl = {
|
|||
logs: logList,
|
||||
output
|
||||
})
|
||||
dispatch('setReportTypeToShareLink', processResult.output.reportType)
|
||||
if (!isEmptyValue(processResult.output)) {
|
||||
dispatch('setReportTypeToShareLink', processResult.output.reportType)
|
||||
}
|
||||
commit('addNotificationProcess', processResult)
|
||||
resolve(processResult)
|
||||
})
|
||||
|
@ -579,7 +581,9 @@ const processControl = {
|
|||
output
|
||||
})
|
||||
resolve(processResult)
|
||||
dispatch('setReportTypeToShareLink', processResult.output.reportType)
|
||||
if (!isEmptyValue(processResult.output)) {
|
||||
dispatch('setReportTypeToShareLink', processResult.output.reportType)
|
||||
}
|
||||
})
|
||||
.catch(error => {
|
||||
Object.assign(processResult, {
|
||||
|
|
Loading…
Reference in New Issue