Skip to content

Commit

Permalink
refactor (web): add updated_at to ListAppItem interface and AppCard
Browse files Browse the repository at this point in the history
  • Loading branch information
aybruhm committed Aug 26, 2024
1 parent d583fb0 commit 4ddd644
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion agenta-web/src/components/AppSelector/AppCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ const AppCard: React.FC<{
</div>
<div>
<Text>Last modified:</Text>
<Text>{formatDay(new Date().getTime())}</Text>
<Text>{formatDay(app.updated_at)}</Text>
</div>
</div>
</Card>
Expand Down
1 change: 1 addition & 0 deletions agenta-web/src/lib/Types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ export interface TestSet {
export interface ListAppsItem {
app_id: string
app_name: string
updated_at: string
}

export interface AppVariant {
Expand Down

0 comments on commit 4ddd644

Please sign in to comment.