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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

16 lines
359 B
JavaScript
Raw Normal View History

2019-07-31 22:56:46 +05:30
import Vue from 'vue';
2020-06-23 00:09:42 +05:30
import MetricsSettingsForm from './components/metrics_settings.vue';
2021-03-11 19:13:27 +05:30
import store from './store';
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
},
});
};