🐛 fix(dashboard): Update date display to use start_time if available

This commit is contained in:
web@ppanel 2025-03-14 22:10:24 +07:00
parent bf58f25072
commit e551232564

View File

@ -164,9 +164,7 @@ export default function Content() {
<CardHeader className='flex flex-row flex-wrap items-center justify-between gap-2 space-y-0'>
<CardTitle className='font-medium'>
{item.subscribe.name}
<p className='text-foreground/50 mt-1 text-sm'>
{formatDate(item.subscribe.created_at)}
</p>
<p className='text-foreground/50 mt-1 text-sm'>{formatDate(item.start_time)}</p>
</CardTitle>
<div className='flex flex-wrap gap-2'>
<AlertDialog>