Skip to content

Commit e804b9f

Browse files
fix: small fixes (#587)
1 parent 45bd56c commit e804b9f

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

src/app/pipelines/columns.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,12 +45,12 @@ export function getPipelineColumns(): ColumnDef<PipelineNamespace>[] {
4545
}),
4646
cell: ({ getValue }) => {
4747
const { runId, status } = getValue<{
48-
runId: PipelineNamespaceBody["latest_run_id"];
48+
runId: string;
4949
status: PipelineNamespaceBody["latest_run_status"];
5050
}>();
5151

5252
return (
53-
<div>
53+
<Link to={routes.runs.detail(runId)}>
5454
<Tag
5555
emphasis="subtle"
5656
rounded={false}
@@ -60,7 +60,7 @@ export function getPipelineColumns(): ColumnDef<PipelineNamespace>[] {
6060
<RunIcon className={`h-3 w-3 ${getRunIconColor(status)}`} />
6161
{runId?.split("-")[0]}
6262
</Tag>
63-
</div>
63+
</Link>
6464
);
6565
}
6666
}

src/layouts/AuthenticatedLayout/index.tsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,7 @@ export function AuthenticatedLayout() {
1616
if (data && checkUserOnboarding(data)) {
1717
return (
1818
<Navigate
19-
to={
20-
routes.survey +
21-
`?${new URLSearchParams({ redirect: location.pathname + location.search }).toString()}`
22-
}
19+
to={routes.survey + `?${new URLSearchParams({ redirect: routes.onboarding }).toString()}`}
2320
/>
2421
);
2522
}

0 commit comments

Comments
 (0)