Skip to content

Commit 6d1d9ae

Browse files
committed
display runs list even without any deploys
1 parent 3ecfa22 commit 6d1d9ae

File tree

1 file changed

+6
-4
lines changed
  • apps/webapp/app/routes/_app.orgs.$organizationSlug.projects.v3.$projectParam.runs._index

1 file changed

+6
-4
lines changed

apps/webapp/app/routes/_app.orgs.$organizationSlug.projects.v3.$projectParam.runs._index/route.tsx

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -64,10 +64,12 @@ export default function Page() {
6464
<PageTitle title="Runs" />
6565
</NavBar>
6666
<PageBody>
67-
{list.possibleTasks.length === 0 ? (
68-
<CreateFirstTaskInstructions />
69-
) : list.runs.length === 0 && !list.hasFilters ? (
70-
<RunTaskInstructions />
67+
{list.runs.length === 0 && !list.hasFilters ? (
68+
list.possibleTasks.length === 0 ? (
69+
<CreateFirstTaskInstructions />
70+
) : (
71+
<RunTaskInstructions />
72+
)
7173
) : (
7274
<div className={cn("grid h-fit grid-cols-1 gap-4")}>
7375
<div>

0 commit comments

Comments
 (0)