Skip to content

Commit

Permalink
fix: deletes at date
Browse files Browse the repository at this point in the history
  • Loading branch information
diced committed Apr 16, 2024
1 parent 38df9c3 commit eb5467e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/components/file/DashboardFile/FileModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,11 @@ export default function FileModal({
value={new Date(file.updatedAt).toLocaleString()}
/>
{file.deletesAt && !reduce && (
<FileStat Icon={IconBombFilled} title='Deletes at' value={file.deletesAt.toLocaleString()} />
<FileStat
Icon={IconBombFilled}
title='Deletes at'
value={new Date(file.deletesAt).toLocaleString()}
/>
)}
<FileStat
Icon={IconEyeFilled}
Expand Down

0 comments on commit eb5467e

Please sign in to comment.