Skip to content

A full-featured CRM built with React, shadcn/ui, and Supabase.

fix mobile dashboard when offline

fzaninotto43488e31af7d
diff --git a/src/components/atomic-crm/activity/ActivityLog.tsx b/src/components/atomic-crm/activity/ActivityLog.tsx
index b29e6b5f..3bbd7af5 100644
--- a/src/components/atomic-crm/activity/ActivityLog.tsx
+++ b/src/components/atomic-crm/activity/ActivityLog.tsx
@@ -43,7 +43,7 @@ export function ActivityLog({
);
}
- if (error) {
+ if (error && !data) {
return (
<div className="p-4">
<div className="text-center text-muted-foreground mb-4">