Skip to content

Commit

Permalink
fix: add optional chaining
Browse files Browse the repository at this point in the history
  • Loading branch information
alexgrozav committed Nov 1, 2024
1 parent 5b5bd72 commit daec213
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/editor-ui/src/composables/usePushConnection.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
)
Expand Down

0 comments on commit daec213

Please sign in to comment.