From 7f1211e074d9fc7ad33855596941b77b83564eed Mon Sep 17 00:00:00 2001 From: Ben Scobie Date: Wed, 6 Nov 2024 18:01:12 +0000 Subject: [PATCH] fix: Saving rules when Tautulli not configured --- ui/src/components/Rules/RuleGroup/AddModal/index.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/ui/src/components/Rules/RuleGroup/AddModal/index.tsx b/ui/src/components/Rules/RuleGroup/AddModal/index.tsx index 86c27fc5..2183653b 100644 --- a/ui/src/components/Rules/RuleGroup/AddModal/index.tsx +++ b/ui/src/components/Rules/RuleGroup/AddModal/index.tsx @@ -289,6 +289,7 @@ const AddModal = (props: AddModal) => { listExclusions: listExclusion, forceOverseerr: forceOverseerr, tautulliWatchedPercentOverride: + tautulliWatchedPercentOverrideRef.current && tautulliWatchedPercentOverrideRef.current.value != '' ? +tautulliWatchedPercentOverrideRef.current.value : undefined,