Fix filters bug
This commit is contained in:
@@ -27,7 +27,7 @@ const useGetAllOrders = () => {
|
||||
const { data } = await axios.get<GetAllOrdersResponse>(API_ENDPOINTS.orders.get_all, {
|
||||
params: {
|
||||
sort: sort.value ?? "created_at",
|
||||
filter: status.value,
|
||||
status: status.value,
|
||||
offset: Number(page.value) * 10 - 10,
|
||||
limit: 10,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user