From 3cccd102ba543e02725d247893729e5c73b38295 Mon Sep 17 00:00:00 2001 From: GitLab Bot Date: Wed, 20 Apr 2022 10:00:54 +0000 Subject: Add latest changes from gitlab-org/gitlab@14-10-stable-ee --- app/views/import/_githubish_status.html.haml | 2 ++ 1 file changed, 2 insertions(+) (limited to 'app/views/import/_githubish_status.html.haml') diff --git a/app/views/import/_githubish_status.html.haml b/app/views/import/_githubish_status.html.haml index 8f18d68fd55..08f7cd57732 100644 --- a/app/views/import/_githubish_status.html.haml +++ b/app/views/import/_githubish_status.html.haml @@ -3,6 +3,7 @@ - extra_data = local_assigns.fetch(:extra_data, {}) - filterable = local_assigns.fetch(:filterable, true) - paginatable = local_assigns.fetch(:paginatable, false) +- default_namespace_path = (local_assigns[:default_namespace] || current_user.namespace).full_path - provider_title = Gitlab::ImportSources.title(provider) - header_title _("New project"), new_project_path @@ -14,6 +15,7 @@ namespaces_path: import_available_namespaces_path, repos_path: url_for([:status, :import, provider, format: :json]), jobs_path: url_for([:realtime_changes, :import, provider, format: :json]), + default_target_namespace: default_namespace_path, import_path: url_for([:import, provider, format: :json]), filterable: filterable.to_s, paginatable: paginatable.to_s }.merge(extra_data) } -- cgit v1.2.1