diff --git a/pages/music/views/table.ts b/pages/music/views/table.ts index d79d164..eea0803 100644 --- a/pages/music/views/table.ts +++ b/pages/music/views/table.ts @@ -98,8 +98,10 @@ export const createArtistSheet = (name?: string) => { export const EditArtistsDialog = (artists: Reference, provided?: Artist[]) => { const artistList = provided ? asRef(provided) : asRef( []); - API.music.artists.list().then(stupidErrorAlert) - .then((x) => artistList.setValue(x)); + if (!provided) { + API.music.artists.list().then(stupidErrorAlert) + .then((x) => artistList.setValue(x)); + } const dialog = SheetDialog( sheetStack,