mirror of
https://github.com/GiriNeko/YesPlayMusic.git
synced 2025-12-16 13:17:46 +00:00
fix(views/lyrics): don't open empty artist link (#1286)
This commit is contained in:
parent
d15b58d805
commit
80b19192c3
1 changed files with 6 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue