diff --git a/skyvern-frontend/src/routes/history/RunHistory.tsx b/skyvern-frontend/src/routes/history/RunHistory.tsx
index cd6a0de1..3e05e6ba 100644
--- a/skyvern-frontend/src/routes/history/RunHistory.tsx
+++ b/skyvern-frontend/src/routes/history/RunHistory.tsx
@@ -70,78 +70,78 @@ function RunHistory() {
- {isFetching
- ? Array.from({ length: 10 }).map((_, index) => (
-
-
-
-
-
- ))
- : null}
- {!isFetching && runs?.length === 0 ? (
+ {isFetching ? (
+ Array.from({ length: 10 }).map((_, index) => (
+
+
+
+
+
+ ))
+ ) : runs?.length === 0 ? (
No runs found
- ) : null}
- {runs?.map((run) => {
- if (isTask(run)) {
+ ) : (
+ runs?.map((run) => {
+ if (isTask(run)) {
+ return (
+ {
+ handleNavigate(event, `/tasks/${run.task_id}/actions`);
+ }}
+ >
+ {run.task_id}
+ {run.url}
+
+
+
+
+ {basicLocalTimeFormat(run.created_at)}
+
+
+ );
+ }
return (
{
- handleNavigate(event, `/tasks/${run.task_id}/actions`);
+ handleNavigate(
+ event,
+ `/workflows/${run.workflow_permanent_id}/${run.workflow_run_id}/overview`,
+ );
}}
>
- {run.task_id}
- {run.url}
+
+ {run.workflow_run_id}
+
+
+ {run.workflow_title ?? ""}
+
-
+
{basicLocalTimeFormat(run.created_at)}
);
- }
- return (
- {
- handleNavigate(
- event,
- `/workflows/${run.workflow_permanent_id}/${run.workflow_run_id}/overview`,
- );
- }}
- >
-
- {run.workflow_run_id}
-
-
- {run.workflow_title ?? ""}
-
-
-
-
-
- {basicLocalTimeFormat(run.created_at)}
-
-
- );
- })}
+ })
+ )}