[web-src] Improve modal for queue items, if item is not part of the

library and adjust after renaming to "album_artist_id"
This commit is contained in:
chme 2019-02-14 08:24:03 +01:00
parent 3343e9cfc8
commit 19c92df825

View File

@ -15,11 +15,13 @@
<div class="content is-small">
<p>
<span class="heading">Album</span>
<a class="title is-6 has-text-link" @click="open_album">{{ item.album }}</a>
<a v-if="item.album_id" class="title is-6 has-text-link" @click="open_album">{{ item.album }}</a>
<span v-else class="title is-6">{{ item.album }}</span>
</p>
<p v-if="item.album_artist">
<span class="heading">Album artist</span>
<a class="title is-6 has-text-link" @click="open_album_artist">{{ item.album_artist }}</a>
<a v-if="item.album_artist_id" class="title is-6 has-text-link" @click="open_album_artist">{{ item.album_artist }}</a>
<span v-else class="title is-6">{{ item.album_artist }}</span>
</p>
<p v-if="item.composer">
<span class="heading">Composer</span>
@ -29,7 +31,7 @@
<span class="heading">Year</span>
<span class="title is-6">{{ item.year }}</span>
</p>
<p>
<p v-if="item.genre">
<span class="heading">Genre</span>
<a class="title is-6 has-text-link" @click="open_genre">{{ item.genre }}</a>
</p>
@ -92,7 +94,7 @@ export default {
},
open_album_artist: function () {
this.$router.push({ path: '/music/artists/' + this.item.albumartist_id })
this.$router.push({ path: '/music/artists/' + this.item.album_artist_id })
},
open_genre: function () {