Commit d5984050 authored by Henrik Hüttemann's avatar Henrik Hüttemann 🤔

Handle missing covers for song background images;

Fix #7
parent aab34617
Pipeline #744 passed with stage
in 46 seconds
<template>
<div class="song"
v-bind:style="{ backgroundImage:
(song.cover.length > 0) ? `url('${coverUrl}')` : 'none' }"
v-bind:style="{ backgroundImage: `url('${coverUrl}')` }"
>
<div class="coverbox">
<p class="meta">
......
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