add experimental remove from queue action

+ show albumartist on TrackItem if artists == ""
+ add action to reset playlist page artists to prevent content flashes
+ remove use of defaultTrackItem
This commit is contained in:
geoffrey45
2022-08-15 10:25:34 +03:00
parent 1f374eeda1
commit e1c9cfa99b
17 changed files with 122 additions and 79 deletions
+7 -7
View File
@@ -16,7 +16,7 @@ export interface Track {
tracknumber?: number;
discnumber?: number;
index?: number;
uniq_hash: string;
hash: string;
copyright?: string;
}
@@ -62,12 +62,12 @@ export interface Playlist {
playlistid: string;
name: string;
description?: string;
image?: string | FormData;
tracks?: Track[];
count?: number;
lastUpdated?: string;
thumb?: string;
duration?: number;
image: string | FormData;
tracks: Track[];
count: number;
lastUpdated: string;
thumb: string;
duration: number;
}
export interface Notif {