fix: broken transactions by vendor report

This commit is contained in:
Ahmed Bouhuolia
2024-02-25 13:20:34 +02:00
parent dd072f8585
commit 6ea870edb2
7 changed files with 47 additions and 25 deletions

View File

@@ -19,14 +19,7 @@ export function useVendorsTransactionsReport(query, props) {
},
},
{
select: (res) => ({
data: res.data.table,
tableRows: res.data.table.rows,
}),
defaultData: {
tableRows: [],
data: [],
},
select: (res) => res.data,
...props,
},
);