Support orderBy as array (#5681)
closes: #4301 --------- Co-authored-by: Félix Malfait <felix.malfait@gmail.com>
This commit is contained in:
co-authored by
Félix Malfait
parent
85fd801480
commit
4603999d1c
@@ -24,7 +24,7 @@ export const useNotes = (targetableObject: ActivityTargetableObject) => {
|
||||
|
||||
const { activities, loading } = useActivities({
|
||||
activitiesFilters: notesQueryVariables.filter ?? {},
|
||||
activitiesOrderByVariables: notesQueryVariables.orderBy ?? {},
|
||||
activitiesOrderByVariables: notesQueryVariables.orderBy ?? [{}],
|
||||
targetableObjects: [targetableObject],
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user