Commit b8f3db41 authored by Vitaly Slobodin's avatar Vitaly Slobodin

Merge branch 'pb-fix-broken-admin-variables' into 'master'

Mounts CI variables setting form correctly

See merge request gitlab-org/gitlab!58496
parents cebc0318 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);
};
---
title: Fixes admin ci variables not showing up
merge_request: 58496
author:
type: fixed
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