Skip to content

Commit

Permalink
fix: add timestamp to title
Browse files Browse the repository at this point in the history
  • Loading branch information
rohan-chaturvedi committed Dec 10, 2024
1 parent 625d138 commit e9e08b5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion frontend/components/environments/secrets/HistoryDialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,10 @@ export const HistoryDialog = ({
<div className="text-zinc-800 dark:text-zinc-200 font-semibold">
{getEventTypeText(historyItem!.eventType)}
</div>
<div className="text-neutral-500 text-sm">
<div
className="text-neutral-500 text-sm"
title={new Date(historyItem!.timestamp).toLocaleTimeString()}
>
{relativeTimeFromDates(new Date(historyItem!.timestamp))}
</div>
<span className="text-neutral-500 text-sm">by</span>
Expand Down

0 comments on commit e9e08b5

Please sign in to comment.