Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
Wiki
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
MDM Lab
Wiki
Merge requests
!9
Resolve "Add Js plugin to render 3D protein structure"
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Resolve "Add Js plugin to render 3D protein structure"
render-3d-protein-structure
into
dev
Overview
0
Commits
7
Pipelines
15
Changes
1
Merged
Remi PLANEL
requested to merge
render-3d-protein-structure
into
dev
1 year ago
Overview
0
Commits
7
Pipelines
15
Changes
1
Expand
Closes
#127 (closed)
0
0
Merge request reports
Viewing commit
2bc1c8d8
Prev
Next
Show latest version
1 file
+
3
−
6
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
2bc1c8d8
Make path reactive : Closes
#131
· 2bc1c8d8
Remi PLANEL
authored
1 year ago
components/EditGitlab.vue
+
3
−
6
Options
@@ -11,15 +11,12 @@ const { page } = useContent();
const
owner
=
ref
(
"
mdm-lab
"
);
const
repo
=
ref
(
"
wiki
"
);
const
branch
=
ref
(
"
main
"
);
const
baseUrl
=
ref
(
new
URL
(
"
https://gitlab.pasteur.fr
"
));
// https://github.com/rplanel/defense-finder-wiki-test/edit/dev/content/1.introduction/0.index.md
const
path
=
ref
(
new
URL
(
const
path
=
computed
(()
=>
{
return
new
URL
(
`/
${
owner
.
value
}
/
${
repo
.
value
}
/-/edit/
${
branch
.
value
}
/content/
${
page
.
value
.
_file
}
`
,
baseUrl
.
value
).
href
)
;
}
)
</
script
>
Loading