Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
f182095e
Commit
f182095e
authored
Apr 02, 2021
by
pburdette
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Mount components correctly
Fixes bug where component was not being mounted.
parent
1c62cdbb
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
2 deletions
+8
-2
app/assets/javascripts/ci_variable_list/index.js
app/assets/javascripts/ci_variable_list/index.js
+3
-2
changelogs/unreleased/pb-fix-broken-admin-variables.yml
changelogs/unreleased/pb-fix-broken-admin-variables.yml
+5
-0
No files found.
app/assets/javascripts/ci_variable_list/index.js
View file @
f182095e
...
...
@@ -43,7 +43,8 @@ const mountCiVariableListApp = (containerEl) => {
});
};
export
default
()
=>
{
const
el
=
document
.
querySelector
(
'
#js-ci-project-variables
'
);
export
default
(
containerId
=
'
js-ci-project-variables
'
)
=>
{
const
el
=
document
.
getElementById
(
containerId
);
return
!
el
?
{}
:
mountCiVariableListApp
(
el
);
};
changelogs/unreleased/pb-fix-broken-admin-variables.yml
0 → 100644
View file @
f182095e
---
title
:
Fixes admin ci variables not showing up
merge_request
:
58496
author
:
type
:
fixed
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment