diff --git a/scm-core/src/main/java/sonia/scm/repository/RepositoryManager.java b/scm-core/src/main/java/sonia/scm/repository/RepositoryManager.java
index 1660cebe1b..ba5ff44ce2 100644
--- a/scm-core/src/main/java/sonia/scm/repository/RepositoryManager.java
+++ b/scm-core/src/main/java/sonia/scm/repository/RepositoryManager.java
@@ -102,9 +102,9 @@ public interface RepositoryManager
/**
* Creates a new repository and afterwards executes the logic from the {@param afterCreation}.
*
- * @param repository the repository {@link Repository}
- * @param afterCreation consumer which expects a repository {@link Repository}
- * @return {@link Repository} the created repository
+ * @param repository the repository to create
+ * @param afterCreation consumer which is executed after the repository was created
+ * @return created repository
*
* @since 2.11.0
*/
diff --git a/scm-ui/ui-webapp/src/repos/containers/ImportRepository.tsx b/scm-ui/ui-webapp/src/repos/containers/ImportRepository.tsx
index bc7631db68..05187b0eba 100644
--- a/scm-ui/ui-webapp/src/repos/containers/ImportRepository.tsx
+++ b/scm-ui/ui-webapp/src/repos/containers/ImportRepository.tsx
@@ -48,6 +48,20 @@ type Props = {
fetchNamespaceStrategiesIfNeeded: () => void;
};
+const ImportPendingLoading = ({ importPending }: { importPending: boolean }) => {
+ const [t] = useTranslation("repos");
+ if (!importPending) {
+ return null;
+ }
+ return (
+ <>
+