Fixed: Removal from Queue

pull/4514/head
Bogdan 11 months ago
parent 0eb8336f12
commit 49b404d8fa

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

Loading…
Cancel
Save