Fix member dashboard issues and webinar datetime loading
- Remove payment_provider filter to show all paid products (webinars now appear) - Fix webinar event_start field loading in AdminProducts (format to datetime-local) - Update order status badge colors for better visibility (green for paid, amber for pending) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -354,7 +354,7 @@ export default function ProductDetail() {
|
||||
<Badge className="bg-brand-accent text-white">Segera Hadir</Badge>
|
||||
)}
|
||||
{product.type === 'webinar' && !product.recording_url && product.event_start && new Date(product.event_start) <= new Date() && (
|
||||
<Badge className="bg-muted text-primary">Telah Selesai</Badge>
|
||||
<Badge className="bg-muted text-primary">Telah Lewat</Badge>
|
||||
)}
|
||||
{hasAccess && <Badge className="bg-primary text-primary-foreground">Anda memiliki akses</Badge>}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user