diff --git a/frontend/src/components/document/DocumentSidebar.tsx b/frontend/src/components/document/DocumentSidebar.tsx
index 42f49d6d..f5584cfa 100644
--- a/frontend/src/components/document/DocumentSidebar.tsx
+++ b/frontend/src/components/document/DocumentSidebar.tsx
@@ -451,51 +451,41 @@ export default function DocumentSidebar({
)}
-
- {doc.summary || "📄 No summary available"}
-
-
-
- {formatSize(doc.file_size)}
-
- {doc.status === "ready" && (
- <>
-
- •
-
-
- {t("documents.pagesShort", {
- count: doc.page_count,
- })}
-
-
- •
-
-
- {t("documents.chunks", {
- count: doc.chunk_count,
- })}
-
- >
- )}
- {doc.status === "processing" && (
-
- {t("documents.processing")}
-
- )}
- {doc.status === "failed" && (
-
- {t("documents.failed")}
-
- )}
-
-
+ {doc.summary ? (
+
+ AI Summary
+ {doc.summary}
+
+ ) : (
+ 📄 No summary available
+ )}
+
+
+ {formatSize(doc.file_size)}
+
+ {doc.status === "ready" && (
+ <>
+ •
+
+ {t("documents.pagesShort", { count: doc.page_count })}
+
+ •
+
+ {t("documents.chunks", { count: doc.chunk_count })}
+
+ >
+ )}
+ {doc.status === "processing" && (
+
+ {t("documents.processing")}
+
+ )}
+ {doc.status === "failed" && (
+
+ {t("documents.failed")}
+
+ )}
+
{/* Action buttons (Settings and Delete) are only visible on hover and when the document is ready. The settings button is disabled if the document is not ready, and the delete button shows a loader when the document is being deleted. */}