Commit 4c74728b authored by Henrik Hüttemann's avatar Henrik Hüttemann 🤔

Add backup image for missing covers

parent 830cca5d
Pipeline #741 passed with stage
in 1 minute and 6 seconds
......@@ -304,7 +304,7 @@ export default {
})
},
getCoverUrl (covers) {
let cover = covers.find(c => c.type.toLowerCase().includes('front')) || covers[0]
let cover = covers.find(c => c.type.toLowerCase().includes('front')) || covers[0] || { ipfs: 'QmeEGHhMNvucwtSjW7ar2CHgR4RwVThZUkBGCYAENs2d3D' }
return this.config.ipfs.gateway + cover.ipfs
}
},
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment