debian-mirror-gitlab/app/assets/javascripts/clusters/new_cluster.js

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

18 lines
305 B
JavaScript
Raw Normal View History

2020-11-24 15:15:51 +05:30
import Vue from 'vue';
import NewCluster from './components/new_cluster.vue';
export default () => {
2022-07-16 23:28:13 +05:30
const el = document.querySelector('#js-cluster-new');
2020-11-24 15:15:51 +05:30
2022-07-16 23:28:13 +05:30
if (!el) {
2020-11-24 15:15:51 +05:30
return null;
}
return new Vue({
2022-07-16 23:28:13 +05:30
el,
2020-11-24 15:15:51 +05:30
render(createElement) {
return createElement(NewCluster);
},
});
};