mirror of
https://github.com/n8n-io/n8n.git
synced 2025-03-05 20:50:17 -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) {
|
if (activeRunData) {
|
||||||
for (const key of Object.keys(activeRunData)) {
|
for (const key of Object.keys(activeRunData)) {
|
||||||
if (
|
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 &&
|
?.isArtificialRecoveredEventItem === true &&
|
||||||
activeRunData[key].length > 0
|
activeRunData[key].length > 0
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue