fix: fix the providerId, the value coming from the API changed

This commit is contained in:
Pablo Lara
2024-09-26 16:05:17 +02:00
parent ede597d02d
commit 1f75d70d4e
@@ -40,15 +40,15 @@ export const ColumnsProvider: ColumnDef<ProviderProps>[] = [
},
},
{
accessorKey: "id",
accessorKey: "uid",
header: ({ column }) => (
<DataTableColumnHeader column={column} title={"Id"} param="provider_id" />
),
cell: ({ row }) => {
const {
attributes: { provider_id },
attributes: { uid },
} = getProviderData(row);
return <SnippetIdProvider providerId={provider_id} />;
return <SnippetIdProvider providerId={uid} />;
},
},
{