We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f000cbc commit 4a3dc86Copy full SHA for 4a3dc86
1 file changed
frontend/src/modules/admin/modules/collections/components/lf-insights-projects-list-dropdown.vue
@@ -118,7 +118,7 @@ const queryKey = computed(() => [
118
searchValue.value,
119
]);
120
121
-const projectGroupsQueryFn = INSIGHTS_PROJECTS_SERVICE.query(() => ({
+const queryFn = INSIGHTS_PROJECTS_SERVICE.query(() => ({
122
limit: 20,
123
offset: 0,
124
filter: searchValue.value
@@ -140,7 +140,7 @@ const {
140
error,
141
} = useInfiniteQuery<Pagination<InsightsProjectModel>, Error>({
142
queryKey,
143
- queryFn: projectGroupsQueryFn,
+ queryFn,
144
getNextPageParam: (lastPage) => {
145
const nextPage = lastPage.offset + lastPage.limit;
146
const totalRows = lastPage.total!;
0 commit comments