diff --git a/surfsense_web/components/tool-ui/create-notion-page.tsx b/surfsense_web/components/tool-ui/create-notion-page.tsx index 74004d894..e148c71ba 100644 --- a/surfsense_web/components/tool-ui/create-notion-page.tsx +++ b/surfsense_web/components/tool-ui/create-notion-page.tsx @@ -423,28 +423,27 @@ function SuccessCard({ result }: { result: SuccessResult }) {
-

+

{result.message || "Notion page created successfully"}

- {/* Show details to verify the arguments were used */}
- Page ID: - {result.page_id} + Title: + {result.title}
- {result.content_length != null && ( + {result.url && (
- Content: - {result.content_length} characters -
- )} - {result.content_preview && ( -
- Preview: - {result.content_preview} + + Open in Notion +
)}
diff --git a/surfsense_web/components/tool-ui/update-notion-page.tsx b/surfsense_web/components/tool-ui/update-notion-page.tsx index 01fe5308f..5bf5a45a9 100644 --- a/surfsense_web/components/tool-ui/update-notion-page.tsx +++ b/surfsense_web/components/tool-ui/update-notion-page.tsx @@ -393,19 +393,13 @@ function SuccessCard({ result }: { result: SuccessResult }) { - {/* Show details to verify the update */}
-
- Page ID: - {result.page_id} -
Title: {result.title}
{result.url && (
- URL:
)} - {result.content_length != null && ( -
- Content: - {result.content_length} characters -
- )} - {result.content_preview && ( -
- Preview: - {result.content_preview} -
- )}
);