fix: image paths
This commit is contained in:
parent
a776b43f23
commit
8fd2e34341
4 changed files with 10 additions and 9 deletions
|
@ -47,8 +47,8 @@ const fetchAllShows = async () => {
|
|||
const prepareShowData = (show) => {
|
||||
return {
|
||||
...show,
|
||||
image: show.art?.filename_disk ? show.art.filename_disk : '',
|
||||
backdrop: show.backdrop?.filename_disk ? show.backdrop.filename_disk : ''
|
||||
image: show.art?.filename_disk ? `/${show.art.filename_disk}` : '',
|
||||
backdrop: show.backdrop?.filename_disk ? `/${show.backdrop.filename_disk}` : ''
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Reference in a new issue