debian-mirror-gitlab/app/assets/javascripts/namespaces/cascading_settings/index.js
2021-04-29 21:17:54 +05:30

15 lines
357 B
JavaScript

import Vue from 'vue';
import LockPopovers from './components/lock_popovers.vue';
export const initCascadingSettingsLockPopovers = () => {
const el = document.querySelector('.js-cascading-settings-lock-popovers');
if (!el) return false;
return new Vue({
el,
render(createElement) {
return createElement(LockPopovers);
},
});
};