diff --git a/surfsense_web/components/layout/ui/sidebar/NavSection.tsx b/surfsense_web/components/layout/ui/sidebar/NavSection.tsx
index 2ab1e6148..0e3decd82 100644
--- a/surfsense_web/components/layout/ui/sidebar/NavSection.tsx
+++ b/surfsense_web/components/layout/ui/sidebar/NavSection.tsx
@@ -37,7 +37,11 @@ function StatusBadge({ status }: { status: NavItem["statusIndicator"] }) {
return null;
}
-function StatusIcon({ status, FallbackIcon, className }: {
+function StatusIcon({
+ status,
+ FallbackIcon,
+ className,
+}: {
status: NavItem["statusIndicator"];
FallbackIcon: NavItem["icon"];
className?: string;
@@ -46,10 +50,18 @@ function StatusIcon({ status, FallbackIcon, className }: {
return ;
}
if (status === "success") {
- return ;
+ return (
+
+ );
}
if (status === "error") {
- return ;
+ return (
+
+ );
}
return ;
}
@@ -113,11 +125,7 @@ export function NavSection({ items, onItemClick, isCollapsed = false }: NavSecti
)}
{...joyrideAttr}
>
-
+
{item.title}
{item.badge && (
diff --git a/surfsense_web/hooks/use-documents-processing.ts b/surfsense_web/hooks/use-documents-processing.ts
index f7a09c36a..bb9901e64 100644
--- a/surfsense_web/hooks/use-documents-processing.ts
+++ b/surfsense_web/hooks/use-documents-processing.ts
@@ -97,7 +97,9 @@ export function useDocumentsProcessing(searchSpaceId: number | null): DocumentsP
}
liveQuery.subscribe(
- (result: { rows: Array<{ processing_count: number | string; failed_count: number | string }> }) => {
+ (result: {
+ rows: Array<{ processing_count: number | string; failed_count: number | string }>;
+ }) => {
if (!mounted || !result.rows?.[0]) return;
const processingCount = Number(result.rows[0].processing_count) || 0;