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