Skip to content
Snippets Groups Projects
Commit b866d9f0 authored by Phil Hughes's avatar Phil Hughes
Browse files

Fixed eslint errors

parent 619f7ec8
No related branches found
No related tags found
No related merge requests found
/* eslint-disable no-new */
/* global Vue */
/* global LabelSelect */
/* global LabelsSelect */
(() => {
gl.issueBoards.ModalLabelFilter = Vue.extend({
props: {
Loading
Loading
/* eslint-disable no-new */
/* global Vue */
/* global MilestoneSelect */
(() => {
Loading
Loading
/* eslint-disable no-new */
/* global Vue */
/* global UsersSelect */
(() => {
Loading
Loading
Loading
Loading
@@ -67,22 +67,22 @@
this.loadIssues(true);
},
deep: true,
}
},
},
methods: {
searchOperation: _.debounce(function searchOperationDebounce() {
this.loadIssues(true);
}, 500),
loadIssues(clearIssues = false) {
if (!this.showAddIssuesModal) return;
if (!this.showAddIssuesModal) return false;
 
const data = Object.assign({}, this.filter, {
const queryData = Object.assign({}, this.filter, {
search: this.searchTerm,
page: this.page,
per: this.perPage,
});
 
return gl.boardService.getBacklog(data).then((res) => {
return gl.boardService.getBacklog(queryData).then((res) => {
const data = res.json();
 
if (clearIssues) {
Loading
Loading
Loading
Loading
@@ -6,7 +6,7 @@
(function() {
this.MilestoneSelect = (function() {
function MilestoneSelect(currentProject, els) {
var _this;
var _this, $els;
if (currentProject != null) {
_this = this;
this.currentProject = JSON.parse(currentProject);
Loading
Loading
@@ -18,7 +18,7 @@
$els = $('.js-label-select');
}
 
$('.js-milestone-select').each(function(i, dropdown) {
$els.each(function(i, dropdown) {
var $block, $dropdown, $loading, $selectbox, $sidebarCollapsedValue, $value, abilityName, collapsedSidebarLabelTemplate, defaultLabel, issuableId, issueUpdateURL, milestoneLinkNoneTemplate, milestoneLinkTemplate, milestonesUrl, projectId, selectedMilestone, showAny, showNo, showUpcoming, useId, showMenuAbove;
$dropdown = $(dropdown);
projectId = $dropdown.data('project-id');
Loading
Loading
Loading
Loading
@@ -392,7 +392,8 @@
&.add-issues-empty-state-filter {
-webkit-flex-direction: column;
flex-direction: column;
margin-top: 50px;
-webkit-justify-content: center;
justify-content: center;
}
 
> .row {
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment