fix: SearchSidebar.svelte granblue_id -> granblueId (177 -> 175 errors)

Co-Authored-By: Justin Edmund <justin@jedmund.com>
This commit is contained in:
Devin AI 2025-11-28 21:11:14 +00:00
parent 606fa91b93
commit 65f9ee041f

View file

@ -171,10 +171,10 @@
}
function getImageUrl(item: SearchResult): string {
if (!item.granblue_id) return '/images/placeholders/placeholder-' + type + '.png'
if (!item.granblueId) return '/images/placeholders/placeholder-' + type + '.png'
const folder = type === 'weapon' ? 'weapon-grid' : type
return `/images/${folder}/${item.granblue_id}.jpg`
return `/images/${folder}/${item.granblueId}.jpg`
}
function getItemName(item: SearchResult): string {