fix(views/lyrics): don't open empty artist link (#1286)

master
memorydream 3 years ago committed by GitHub
parent d15b58d805
commit 80b19192c3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -57,10 +57,14 @@
</div> </div>
<div class="subtitle"> <div class="subtitle">
<router-link <router-link
v-if="artist.id !== 0"
:to="`/artist/${artist.id}`" :to="`/artist/${artist.id}`"
@click.native="toggleLyrics" @click.native="toggleLyrics"
>{{ artist.name }}</router-link >{{ artist.name }}
> </router-link>
<span v-else>
{{ artist.name }}
</span>
<span v-if="album.id !== 0"> <span v-if="album.id !== 0">
- -
<router-link <router-link

Loading…
Cancel
Save