migrate admin:jobs:index to static bundle

This commit is contained in:
Mike Greiling 2018-02-02 16:22:26 -06:00
parent 96feb536e4
commit e95d482296
No known key found for this signature in database
GPG key ID: 0303DF507FA67596

View file

@ -1,12 +1,10 @@
import Vue from 'vue';
import Translate from '~/vue_shared/translate';
import stopJobsModal from './components/stop_jobs_modal.vue';
Vue.use(Translate);
export default () => {
document.addEventListener('DOMContentLoaded', () => {
const stopJobsButton = document.getElementById('stop-jobs-button');
if (stopJobsButton) {
// eslint-disable-next-line no-new
@ -27,4 +25,4 @@ export default () => {
},
});
}
};
});