mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-01-23 05:24:55 +03:00
lint
This commit is contained in:
parent
a9085ec2ed
commit
f22896303d
@ -14,4 +14,4 @@ export const AddShouldSeedColumn: HydraMigration = {
|
||||
return table.dropColumn("shouldSeed");
|
||||
});
|
||||
},
|
||||
};
|
||||
};
|
||||
|
@ -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" });
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -172,15 +172,11 @@ export function DownloadGroup({
|
||||
</Button>
|
||||
|
||||
{seed && game.shouldSeed && (
|
||||
<Button theme="outline">
|
||||
{t("stop_seed")}
|
||||
</Button>
|
||||
<Button theme="outline">{t("stop_seed")}</Button>
|
||||
)}
|
||||
|
||||
{seed && !game.shouldSeed && (
|
||||
<Button theme="outline">
|
||||
{t("resume_seed")}
|
||||
</Button>
|
||||
<Button theme="outline">{t("resume_seed")}</Button>
|
||||
)}
|
||||
</>
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user