Fixed: Removal from Queue

This commit is contained in:
Bogdan 2024-01-24 17:57:46 +02:00
parent 0eb8336f12
commit 49b404d8fa
1 changed files with 2 additions and 2 deletions

View File

@ -13,7 +13,7 @@ import translate from 'Utilities/String/translate';
import styles from './RemoveQueueItemModal.css';
interface RemovePressProps {
remove: boolean;
removeFromClient: boolean;
changeCategory: boolean;
blocklist: boolean;
skipRedownload: boolean;
@ -148,7 +148,7 @@ function RemoveQueueItemModal(props: RemoveQueueItemModalProps) {
const handleConfirmRemove = useCallback(() => {
onRemovePress({
remove: removalMethod === 'removeFromClient',
removeFromClient: removalMethod === 'removeFromClient',
changeCategory: removalMethod === 'changeCategory',
blocklist: blocklistMethod !== 'doNotBlocklist',
skipRedownload: blocklistMethod === 'blocklistOnly',