Commit 9f95fe18 authored by Illya Klymov's avatar Illya Klymov

Fix incorrect urls

parent 265ae979
......@@ -28,7 +28,7 @@ export default {
};
</script>
<template>
<import-projects-table provider-title="providerTitle">
<import-projects-table :provider-title="providerTitle">
<template #actions>
<slot name="actions"></slot>
</template>
......
......@@ -19,7 +19,11 @@ module ImportHelper
end
def provider_project_link_url(provider_url, full_path)
Gitlab::Utils.append_path(provider_url, full_path)
if Gitlab::Utils.parse_url(full_path)&.absolute?
full_path
else
Gitlab::Utils.append_path(provider_url, full_path)
end
end
def import_will_timeout_message(_ci_cd_only)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment