diff --git a/components/providers/table/data-table-row-actions.tsx b/components/providers/table/data-table-row-actions.tsx index 3e541751da..604863d7c2 100644 --- a/components/providers/table/data-table-row-actions.tsx +++ b/components/providers/table/data-table-row-actions.tsx @@ -7,7 +7,6 @@ import { DropdownMenu, DropdownSection, DropdownTrigger, - Link, } from "@nextui-org/react"; import { AddNoteBulkIcon, @@ -35,8 +34,9 @@ export function DataTableRowActions({ }: DataTableRowActionsProps) { const [isEditOpen, setIsEditOpen] = useState(false); const [isDeleteOpen, setIsDeleteOpen] = useState(false); + console.log("row.original:", row.original); const providerId = (row.original as { id: string }).id; - const providerType = (row.original as { type: string }).type; + const providerType = (row.original as any).attributes?.provider; const providerAlias = (row.original as any).attributes?.alias; return ( <> @@ -76,18 +76,13 @@ export function DataTableRowActions({ > } > - - - Test Connection - - + Test Connection