diff --git a/src/components/admin/donations/grid/Grid.tsx b/src/components/admin/donations/grid/Grid.tsx index 5f9762e2e..5899f3c6f 100644 --- a/src/components/admin/donations/grid/Grid.tsx +++ b/src/components/admin/donations/grid/Grid.tsx @@ -27,6 +27,7 @@ import { useStores } from '../../../../common/hooks/useStores' import RenderEditBillingEmailCell from './RenderEditBillingEmailCell' import RestoreIcon from '@mui/icons-material/Restore' import RefundModal from '../modals/RefundModal' +import { DonationStatus, PaymentProvider } from '../../../../gql/donations.enums' interface RenderCellProps { params: GridRenderCellParams @@ -154,7 +155,8 @@ export default observer(function Grid() { width: 120, resizable: false, renderCell: (params: GridRenderCellParams) => { - return params.row?.status === 'succeeded' ? ( + return params.row?.status === DonationStatus.succeeded && + params.row?.provider === PaymentProvider.stripe ? ( <>