diff --git a/src/main/migrations/20241107211345_add_should_seed_colum.ts b/src/main/migrations/20241107211345_add_should_seed_colum.ts index 13d9c1ed..60be0730 100644 --- a/src/main/migrations/20241107211345_add_should_seed_colum.ts +++ b/src/main/migrations/20241107211345_add_should_seed_colum.ts @@ -14,4 +14,4 @@ export const AddShouldSeedColumn: HydraMigration = { return table.dropColumn("shouldSeed"); }); }, -}; \ No newline at end of file +}; diff --git a/src/main/services/download/python-instance.ts b/src/main/services/download/python-instance.ts index 5f60a234..3b397d8a 100644 --- a/src/main/services/download/python-instance.ts +++ b/src/main/services/download/python-instance.ts @@ -67,12 +67,8 @@ export class PythonInstance { ); if (response.data && response.data.length > 0) { - for (const seed of response.data) { - await gameRepository.update( - { id: seed.gameId }, - { status: "seeding" } - ); + await gameRepository.update({ id: seed.gameId }, { status: "seeding" }); } } diff --git a/src/renderer/src/pages/downloads/download-group.tsx b/src/renderer/src/pages/downloads/download-group.tsx index 26d2227e..b69dba34 100644 --- a/src/renderer/src/pages/downloads/download-group.tsx +++ b/src/renderer/src/pages/downloads/download-group.tsx @@ -172,15 +172,11 @@ export function DownloadGroup({ {seed && game.shouldSeed && ( - + )} {seed && !game.shouldSeed && ( - + )} );