show whether album is soundtrack or compilation

This commit is contained in:
geoffrey45
2022-06-07 16:48:12 +03:00
parent e75ac3e394
commit 7b41d91b83
2 changed files with 10 additions and 10 deletions
+5 -7
View File
@@ -12,13 +12,11 @@
</div>
<div class="info">
<div class="top" v-motion-slide-from-top>
<div
class="h"
v-if="props.album.artist.toLowerCase() == 'various artists'"
>
Compilation
<div class="h">
<span v-if="album.is_soundtrack">Soundtrack</span>
<span v-else-if="album.is_compilation">Compilation</span>
<span v-else>Album</span>
</div>
<div class="h" v-else>Album</div>
<div class="title ellip">{{ props.album.title }}</div>
</div>
<div class="bottom">
@@ -66,7 +64,7 @@ extrackColors();
background-color: #000000;
background-image: linear-gradient(37deg, $black 20%, $gray, $black 90%);
.art {
.art {
width: 100%;
height: 100%;
left: 1rem;