Page MenuHomeElementl

[dagit] Fix Run page
ClosedPublic

Authored by dish on Tue, Jun 8, 9:16 PM.

Details

Summary

When stepKeys is an empty array, we can end up in an infinite render loop (via useEffect) when rendering RunWithData.

Test Plan

View a run, verify that the page loads without a maximum call stack error.

Diff Detail

Repository
R1 dagster
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

dish requested review of this revision.Tue, Jun 8, 9:29 PM
This revision is now accepted and ready to land.Tue, Jun 8, 10:54 PM
This revision was automatically updated to reflect the committed changes.