add global percent to song entry component

This commit is contained in:
2026-02-06 12:18:29 -08:00
parent 0d48cea726
commit fa35340861
5 changed files with 11 additions and 0 deletions

View File

@@ -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,