diff --git a/surfsense_web/components/tool-ui/update-notion-page.tsx b/surfsense_web/components/tool-ui/update-notion-page.tsx index 5bf5a45a9..383dc3066 100644 --- a/surfsense_web/components/tool-ui/update-notion-page.tsx +++ b/surfsense_web/components/tool-ui/update-notion-page.tsx @@ -117,21 +117,28 @@ function ApprovalCard({ const account = interruptData.context?.account; const currentTitle = interruptData.context?.current_title; - // Title is not editable, so it's always valid - const isTitleValid = true; - const reviewConfig = interruptData.review_configs[0]; const allowedDecisions = reviewConfig?.allowed_decisions ?? ["approve", "reject"]; const canEdit = allowedDecisions.includes("edit"); return ( -