Skip to content

Commit

Permalink
[dagit] Fix default Dagit page in single repo, multiple jobs case (#7368
Browse files Browse the repository at this point in the history
)
  • Loading branch information
bengotow committed Apr 12, 2022
1 parent 4f77c97 commit 72e5b85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js_modules/dagit/packages/core/src/app/FallthroughRoot.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ const FinalRedirectOrLoadingRoot = () => {
}

// If we have more than one job, route to the instance overview
if (reposWithAJob.length > 1) {
if (reposWithAJob.length > 0) {
return <Redirect to="/instance" />;
}

Expand Down

0 comments on commit 72e5b85

Please sign in to comment.