Fix repository list not displaying in export form

- Remove skipToken from useGetFrontendSettingsQuery to allow query to execute
- Repositories will now be fetched and displayed in the dropdown
This commit is contained in:
Roberto Jimenez Sanchez
2025-12-02 17:52:09 +01:00
parent 140ca8e213
commit 1d7a7e879c
@@ -49,7 +49,7 @@ function FormContent({ initialValues, selectedItems, workflowOptions, onDismiss
const workflow = watch('workflow');
// Get repositories list from frontend settings (which returns RepositoryView[])
const { data: settingsData, isLoading: isLoadingRepos } = useGetFrontendSettingsQuery(skipToken);
const { data: settingsData, isLoading: isLoadingRepos } = useGetFrontendSettingsQuery();
const repositories = settingsData?.items ?? [];
// Get selected repository