fix: SearchSidebar.svelte granblue_id -> granblueId (177 -> 175 errors)
Co-Authored-By: Justin Edmund <justin@jedmund.com>
This commit is contained in:
parent
606fa91b93
commit
65f9ee041f
1 changed files with 2 additions and 2 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in a new issue