mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-06-04 20:43:04 +00:00
add "single" label if album is a single
This commit is contained in:
@@ -15,6 +15,7 @@
|
||||
<div class="h">
|
||||
<span v-if="album.is_soundtrack">Soundtrack</span>
|
||||
<span v-else-if="album.is_compilation">Compilation</span>
|
||||
<span v-else-if="album.is_single">Single</span>
|
||||
<span v-else>Album</span>
|
||||
</div>
|
||||
<div class="title ellip">{{ album.title }}</div>
|
||||
|
||||
+3
-3
@@ -1,5 +1,4 @@
|
||||
import { FromOptions } from "./composables/enums";
|
||||
import { NotifType } from "./composables/enums";
|
||||
import { FromOptions, NotifType } from "./composables/enums";
|
||||
|
||||
interface Track {
|
||||
trackid: string;
|
||||
@@ -14,7 +13,7 @@ interface Track {
|
||||
genre?: string;
|
||||
image: string;
|
||||
tracknumber?: number;
|
||||
discnumber?: number;
|
||||
disknumber?: number;
|
||||
}
|
||||
|
||||
interface Folder {
|
||||
@@ -33,6 +32,7 @@ interface AlbumInfo {
|
||||
image: string;
|
||||
is_compilation: boolean;
|
||||
is_soundtrack: boolean;
|
||||
is_single: boolean;
|
||||
}
|
||||
|
||||
interface Artist {
|
||||
|
||||
Reference in New Issue
Block a user