debian-mirror-gitlab/app/assets/javascripts/import/details/index.js

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

24 lines
440 B
JavaScript
Raw Normal View History

2023-06-20 00:43:36 +05:30
import Vue from 'vue';
import ImportDetailsApp from './components/import_details_app.vue';
export default () => {
const el = document.querySelector('.js-import-details');
if (!el) {
return null;
}
2023-07-09 08:55:56 +05:30
const { failuresPath } = el.dataset;
2023-06-20 00:43:36 +05:30
return new Vue({
el,
name: 'ImportDetailsRoot',
2023-07-09 08:55:56 +05:30
provide: {
failuresPath,
},
2023-06-20 00:43:36 +05:30
render(createElement) {
return createElement(ImportDetailsApp);
},
});
};