15 lines
357 B
JavaScript
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);
|
|
},
|
|
});
|
|
};
|