feat(web): add display number for workflow

This commit is contained in:
BennyKok
2023-12-19 12:19:46 +08:00
parent 59ec8ecb06
commit 39dd760ba0
3 changed files with 8 additions and 3 deletions
+2 -1
View File
@@ -26,9 +26,10 @@ export async function RunDisplay({
className="appearance-none hover:cursor-pointer"
>
<TableRow>
<TableCell>{run.version?.version}</TableCell>
<TableCell>{run.number}</TableCell>
<TableCell className="font-medium">{run.machine?.name}</TableCell>
<TableCell>{getRelativeTime(run.created_at)}</TableCell>
<TableCell>{run.version?.version}</TableCell>
<LiveStatus run={run} />
</TableRow>
</DialogTrigger>
+2 -1
View File
@@ -18,9 +18,10 @@ export async function RunsTable(props: { workflow_id: string }) {
<TableCaption>A list of your recent runs.</TableCaption>
<TableHeader className="bg-background top-0 sticky">
<TableRow>
<TableHead className=" w-[100px]">Version</TableHead>
<TableHead className="w-[100px]">Number</TableHead>
<TableHead className="">Machine</TableHead>
<TableHead className="">Time</TableHead>
<TableHead className="w-[100px]">Version</TableHead>
<TableHead className="">Live Status</TableHead>
<TableHead className=" text-right">Status</TableHead>
</TableRow>