fix: toujours afficher le bouton replace dans la modale Prowlarr
All checks were successful
Deploy with Docker Compose / deploy (push) Successful in 42s
All checks were successful
Deploy with Docker Compose / deploy (push) Successful in 42s
alwaysShowReplace suffit maintenant à montrer le bouton replace, même quand allVolumes est vide (série complète sans volumes manquants). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -56,8 +56,8 @@ export function QbittorrentDownloadButton({
|
||||
|
||||
if (!configured) return null;
|
||||
|
||||
const showReplaceButton = allVolumes && allVolumes.length > 0
|
||||
&& (alwaysShowReplace || (expectedVolumes && allVolumes.length > expectedVolumes.length));
|
||||
const showReplaceButton = alwaysShowReplace
|
||||
|| (allVolumes && allVolumes.length > 0 && expectedVolumes && allVolumes.length > expectedVolumes.length);
|
||||
|
||||
async function handleSend(volumes?: number[], replaceExisting = false) {
|
||||
setSending(true);
|
||||
|
||||
Reference in New Issue
Block a user