mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-14 08:34:07 -08:00
fix(editor): Add optional chaining to execution socket event (no-changelog) (#11499)
This commit is contained in:
parent
4ef804c8d3
commit
aa7bb3ac08
|
@ -252,7 +252,7 @@ export function usePushConnection({ router }: { router: ReturnType<typeof useRou
|
|||
if (activeRunData) {
|
||||
for (const key of Object.keys(activeRunData)) {
|
||||
if (
|
||||
pushData.data.data.resultData.runData[key]?.[0]?.data?.main?.[0]?.[0]?.json
|
||||
pushData.data?.data?.resultData?.runData?.[key]?.[0]?.data?.main?.[0]?.[0]?.json
|
||||
?.isArtificialRecoveredEventItem === true &&
|
||||
activeRunData[key].length > 0
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue