Skip to content

Commit

Permalink
[OPIK-137] Integrate new last_updated_trace_at in the Projects table (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
ferc authored Oct 7, 2024
1 parent 1096e06 commit 6e98a36
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@ export const DEFAULT_COLUMNS: ColumnData<Project>[] = [
id: "last_updated_at",
label: "Last updated",
type: COLUMN_TYPE.time,
accessorFn: (row) => formatDate(row.last_updated_at),
accessorFn: (row) =>
formatDate(row.last_updated_trace_at ?? row.created_at),
},
];

Expand Down
1 change: 1 addition & 0 deletions apps/opik-frontend/src/types/projects.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@ export interface Project {
created_by: string;
last_updated_at: string;
last_updated_by: string;
last_updated_trace_at?: string;
}

0 comments on commit 6e98a36

Please sign in to comment.