Compare commits

...

3 Commits

Author SHA1 Message Date
Kelly
905580ca1d fix: resolve duplicate migration timestamp for vehicles table
- Renamed 2025_10_10_034707_create_vehicles_table.php to 2025_10_10_034708_create_vehicles_table.php
- Migration now runs sequentially after drivers table creation
- Resolves PostgreSQL duplicate table creation errors in CI tests
2025-11-11 02:35:16 -07:00
Kelly
39ab10759b chore: trigger CI pipeline
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-11 00:14:49 -07:00
Jon Leopard
5f99fba396 fix: replace broken image placeholder with Lucide icon fallback
- Remove reference to non-existent /images/placeholder.png
- Show Lucide icon with gray background when image fails to load
- Prevents infinite 404 request loop on product edit page
2025-11-07 11:52:53 -07:00
2 changed files with 4 additions and 1 deletions

View File

@@ -396,7 +396,10 @@
<template x-for="(image, index) in images" :key="image.id || index">
<div class="relative group cursor-move border-2 border-base-300 rounded-lg overflow-hidden hover:border-primary transition-colors bg-base-200"
:data-id="image.id">
<img :src="'/storage/' + image.path" alt="Product image" class="w-full h-40 object-cover" @@error="$event.target.src='/images/placeholder.png'">
<img :src="'/storage/' + image.path" alt="Product image" class="w-full h-40 object-cover" @error="$event.target.style.display='none'; $event.target.nextElementSibling.style.display='flex';">
<div class="hidden items-center justify-center h-40 bg-base-200">
<span class="icon-[lucide--image] size-16 text-base-content/40"></span>
</div>
<div class="absolute top-2 left-2">
<span class="badge badge-sm" :class="index === 0 ? 'badge-primary' : 'badge-ghost badge-outline'" x-text="index === 0 ? 'Primary' : (index + 1)"></span>
</div>