debian-mirror-gitlab/app/assets/javascripts/operation_settings/index.js

16 lines
359 B
JavaScript
Raw Normal View History

2019-07-31 22:56:46 +05:30
import Vue from 'vue';
2019-09-04 21:01:54 +05:30
import store from './store';
2020-06-23 00:09:42 +05:30
import MetricsSettingsForm from './components/metrics_settings.vue';
2019-07-31 22:56:46 +05:30
export default () => {
const el = document.querySelector('.js-operation-settings');
return new Vue({
el,
2019-09-04 21:01:54 +05:30
store: store(el.dataset),
2019-07-31 22:56:46 +05:30
render(createElement) {
2020-06-23 00:09:42 +05:30
return createElement(MetricsSettingsForm);
2019-07-31 22:56:46 +05:30
},
});
};