migrate admin:jobs:index to static bundle
This commit is contained in:
parent
96feb536e4
commit
e95d482296
1 changed files with 2 additions and 4 deletions
|
@ -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 () => {
|
|||
},
|
||||
});
|
||||
}
|
||||
};
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue