fix: wire all modals and lead activity slideout into Lead Workspace and All Leads pages

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-03-16 16:20:27 +05:30
parent d98da9a1ea
commit a119fb1b67
3 changed files with 165 additions and 15 deletions

View File

@@ -19,6 +19,7 @@ type LeadTableProps = {
sortField: string;
sortDirection: 'asc' | 'desc';
onSort: (field: string) => void;
onViewActivity?: (lead: Lead) => void;
};
type TableRow = {
@@ -47,6 +48,7 @@ export const LeadTable = ({
sortField,
sortDirection,
onSort,
onViewActivity,
}: LeadTableProps) => {
const [expandedDupId, setExpandedDupId] = useState<string | null>(null);
@@ -298,6 +300,7 @@ export const LeadTable = ({
color="tertiary"
iconLeading={DotsVertical}
aria-label="Row actions"
onClick={() => onViewActivity?.(lead)}
/>
</Table.Cell>
</Table.Row>