mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-01-23 13:34:54 +03:00
lint
This commit is contained in:
parent
a9085ec2ed
commit
f22896303d
@ -14,4 +14,4 @@ export const AddShouldSeedColumn: HydraMigration = {
|
|||||||
return table.dropColumn("shouldSeed");
|
return table.dropColumn("shouldSeed");
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
@ -67,12 +67,8 @@ export class PythonInstance {
|
|||||||
);
|
);
|
||||||
|
|
||||||
if (response.data && response.data.length > 0) {
|
if (response.data && response.data.length > 0) {
|
||||||
|
|
||||||
for (const seed of response.data) {
|
for (const seed of response.data) {
|
||||||
await gameRepository.update(
|
await gameRepository.update({ id: seed.gameId }, { status: "seeding" });
|
||||||
{ id: seed.gameId },
|
|
||||||
{ status: "seeding" }
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -172,15 +172,11 @@ export function DownloadGroup({
|
|||||||
</Button>
|
</Button>
|
||||||
|
|
||||||
{seed && game.shouldSeed && (
|
{seed && game.shouldSeed && (
|
||||||
<Button theme="outline">
|
<Button theme="outline">{t("stop_seed")}</Button>
|
||||||
{t("stop_seed")}
|
|
||||||
</Button>
|
|
||||||
)}
|
)}
|
||||||
|
|
||||||
{seed && !game.shouldSeed && (
|
{seed && !game.shouldSeed && (
|
||||||
<Button theme="outline">
|
<Button theme="outline">{t("resume_seed")}</Button>
|
||||||
{t("resume_seed")}
|
|
||||||
</Button>
|
|
||||||
)}
|
)}
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user