Fix order by (#2646)
* Order by createdAt desc if no sort provided * Fix '0' currency amounts * Code review returns
This commit is contained in:
@ -123,7 +123,7 @@ export const HooksCompanyBoardEffect = () => {
|
||||
objectNamePlural: 'companies',
|
||||
filter: {
|
||||
id: {
|
||||
in: opportunities.map((opportuntiy) => opportuntiy.companyId || ''),
|
||||
in: opportunities.map((opportunity) => opportunity.companyId || ''),
|
||||
},
|
||||
},
|
||||
onCompleted: useCallback((data: PaginatedObjectTypeResults<Company>) => {
|
||||
|
||||
Reference in New Issue
Block a user