add global percent to song entry component
This commit is contained in:
@@ -121,6 +121,7 @@ export async function getAnimeWithSongsByAnnId(db: ClientDb, annId: number) {
|
||||
|
||||
songName: songs.name,
|
||||
fileName: songs.fileName,
|
||||
globalPercent: songs.globalPercent,
|
||||
|
||||
artistName: artists.name,
|
||||
groupName: groups.name,
|
||||
@@ -140,6 +141,7 @@ export async function getAnimeWithSongsByAnnId(db: ClientDb, annId: number) {
|
||||
number: r.number,
|
||||
songName: r.songName,
|
||||
fileName: r.fileName,
|
||||
globalPercent: r.globalPercent,
|
||||
artistName: r.artistName ?? r.groupName ?? null,
|
||||
})),
|
||||
};
|
||||
@@ -174,6 +176,7 @@ export async function getSongsForMalAnimeIds(
|
||||
|
||||
songName: songs.name,
|
||||
fileName: songs.fileName,
|
||||
globalPercent: songs.globalPercent,
|
||||
|
||||
artistName: artists.name,
|
||||
groupName: groups.name,
|
||||
|
||||
Reference in New Issue
Block a user