Commit 05ec0f28 authored by Phil Hughes's avatar Phil Hughes

Fixed eslint

parent 6ce2e72f
/* global Vue */ /* global Vue */
const userFilter = require('./filters/user');
const milestoneFilter = require('./filters/milestone');
const labelFilter = require('./filters/label');
module.exports = Vue.extend({ module.exports = Vue.extend({
name: 'modal-filters', name: 'modal-filters',
props: { props: {
...@@ -19,9 +23,9 @@ module.exports = Vue.extend({ ...@@ -19,9 +23,9 @@ module.exports = Vue.extend({
gl.issueBoards.ModalStore.setDefaultFilter(); gl.issueBoards.ModalStore.setDefaultFilter();
}, },
components: { components: {
'user-filter': require('./filters/user'), userFilter,
'milestone-filter': require('./filters/milestone'), milestoneFilter,
'label-filter': require('./filters/label'), labelFilter,
}, },
template: ` template: `
<div class="modal-filters"> <div class="modal-filters">
......
/* global Vue */ /* global Vue */
require('./tabs'); require('./tabs');
const modalFilters = require('./filters');
(() => { (() => {
const ModalStore = gl.issueBoards.ModalStore; const ModalStore = gl.issueBoards.ModalStore;
...@@ -43,7 +45,7 @@ require('./tabs'); ...@@ -43,7 +45,7 @@ require('./tabs');
}, },
components: { components: {
'modal-tabs': gl.issueBoards.ModalTabs, 'modal-tabs': gl.issueBoards.ModalTabs,
'modal-filters': require('./filters'), modalFilters,
}, },
template: ` template: `
<div> <div>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment