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:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user