Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions frontend/components/common/merchant/merchant-data.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { Undo2, FileText, Link2 } from "lucide-react"
import { toast } from "sonner"
import { TableFilter, mapDisplayStatusToQuery, type DisplayOrderStatus, type SearchValues } from "@/components/common/general/table-filter"
import { TransactionTableList } from "@/components/common/general/table-data"
import { DEFAULT_ORDER_TYPES, type MerchantAPIKey, type OrderType } from "@/lib/services"
import { type MerchantAPIKey, type OrderType } from "@/lib/services"
import { TransactionProvider, useTransaction } from "@/contexts/transaction-context"
import { formatLocalDate } from "@/lib/utils"

Expand Down Expand Up @@ -72,7 +72,7 @@ function MerchantDataContent({ apiKey }: MerchantDataProps) {
return {
page,
page_size: pageSize,
types: selectedTypes.length > 0 ? selectedTypes : DEFAULT_ORDER_TYPES,
types: selectedTypes.length > 0 ? selectedTypes : undefined,
...stateQuery,
startTime: dateRange ? formatLocalDate(dateRange.from) : undefined,
endTime: dateRange ? (() => {
Expand Down
Loading