|
|
@ -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',
|
|
|
|