summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/boards
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2017-02-06 12:23:40 +0000
committerPhil Hughes <me@iamphill.com>2017-02-06 12:23:40 +0000
commit05ec0f281e0dabcf8282206503046cf9894698f8 (patch)
tree03bf7de64c2badb86189bdc6f4c38c73529886b9 /app/assets/javascripts/boards
parent6ce2e72f0b902a8bf8a51a640858c2bcc7546ef7 (diff)
downloadgitlab-ce-05ec0f281e0dabcf8282206503046cf9894698f8.tar.gz
Fixed eslint
Diffstat (limited to 'app/assets/javascripts/boards')
-rw-r--r--app/assets/javascripts/boards/components/modal/filters.js.es610
-rw-r--r--app/assets/javascripts/boards/components/modal/header.js.es64
2 files changed, 10 insertions, 4 deletions
diff --git a/app/assets/javascripts/boards/components/modal/filters.js.es6 b/app/assets/javascripts/boards/components/modal/filters.js.es6
index f7d89855998..6de06811d94 100644
--- a/app/assets/javascripts/boards/components/modal/filters.js.es6
+++ b/app/assets/javascripts/boards/components/modal/filters.js.es6
@@ -1,4 +1,8 @@
/* global Vue */
+const userFilter = require('./filters/user');
+const milestoneFilter = require('./filters/milestone');
+const labelFilter = require('./filters/label');
+
module.exports = Vue.extend({
name: 'modal-filters',
props: {
@@ -19,9 +23,9 @@ module.exports = Vue.extend({
gl.issueBoards.ModalStore.setDefaultFilter();
},
components: {
- 'user-filter': require('./filters/user'),
- 'milestone-filter': require('./filters/milestone'),
- 'label-filter': require('./filters/label'),
+ userFilter,
+ milestoneFilter,
+ labelFilter,
},
template: `
<div class="modal-filters">
diff --git a/app/assets/javascripts/boards/components/modal/header.js.es6 b/app/assets/javascripts/boards/components/modal/header.js.es6
index 01f5b318fb2..70c088f9054 100644
--- a/app/assets/javascripts/boards/components/modal/header.js.es6
+++ b/app/assets/javascripts/boards/components/modal/header.js.es6
@@ -1,5 +1,7 @@
/* global Vue */
require('./tabs');
+const modalFilters = require('./filters');
+
(() => {
const ModalStore = gl.issueBoards.ModalStore;
@@ -43,7 +45,7 @@ require('./tabs');
},
components: {
'modal-tabs': gl.issueBoards.ModalTabs,
- 'modal-filters': require('./filters'),
+ modalFilters,
},
template: `
<div>