Merge pull request #13283 from Budibase/fix/automation-error-crash
Fix hard crash when an automation error exists
This commit is contained in:
commit
f25bf60d85
|
@ -85,7 +85,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
const automationErrorMessage = appId => {
|
const automationErrorMessage = appId => {
|
||||||
const app = enrichedApps.find(app => app.devId === appId)
|
const app = $enrichedApps.find(app => app.devId === appId)
|
||||||
const errors = automationErrors[appId]
|
const errors = automationErrors[appId]
|
||||||
return `${app.name} - Automation error (${errorCount(errors)})`
|
return `${app.name} - Automation error (${errorCount(errors)})`
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue