Skip to content
Snippets Groups Projects
Commit 7aa78abd authored by Jose Ivan Vargas Lopez's avatar Jose Ivan Vargas Lopez
Browse files

Merge branch '423636-consider-relative-url-root-in-group-overview-tabs' into 'master'

Consider relative URL root in group overview tabs

See merge request https://gitlab.com/gitlab-org/gitlab/-/merge_requests/138632



Merged-by: default avatarJose Ivan Vargas <jvargas@gitlab.com>
Approved-by: default avatarRudy Crespo <rcrespo@gitlab.com>
Approved-by: default avatarJose Ivan Vargas <jvargas@gitlab.com>
Co-authored-by: default avatarZakir Dzhamaliddinov <zakir.dzhamaliddinov@gmail.com>
parents c5b773a1 cbf42a2e
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -21,7 +21,7 @@ export const createRouter = () => {
const router = new VueRouter({
routes,
mode: 'history',
base: '/',
base: gon.relative_url_root || '/',
});
 
return router;
Loading
Loading
Loading
Loading
@@ -32,7 +32,7 @@ export default class ArchivedProjectsService {
markdown_description: project.description_html,
visibility: project.visibility,
avatar_url: project.avatar_url,
relative_path: `/${project.path_with_namespace}`,
relative_path: `${gon.relative_url_root}/${project.path_with_namespace}`,
edit_path: null,
leave_path: null,
can_edit: false,
Loading
Loading
Loading
Loading
@@ -30,7 +30,7 @@ describe('ArchivedProjectsService', () => {
markdown_description: project.description_html,
visibility: project.visibility,
avatar_url: project.avatar_url,
relative_path: `/${project.path_with_namespace}`,
relative_path: `${gon.relative_url_root}/${project.path_with_namespace}`,
edit_path: null,
leave_path: null,
can_edit: false,
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment