Commit 67d8e600 authored by Phil Hughes's avatar Phil Hughes Committed by Douglas Barbosa Alexandre

ESlint fix

parent d7d50fbb
......@@ -47,7 +47,7 @@ require('./board_new_form');
this.updateMilestoneFilterDropdown();
},
deep: true,
}
},
},
computed: {
currentPage() {
......@@ -97,7 +97,6 @@ require('./board_new_form');
updateMilestoneFilterDropdown() {
const $milestoneDropdown = $('.dropdown-menu-milestone');
const hideElements = this.board.milestone_id === null;
console.log(hideElements, this.board.milestone_id);
$milestoneDropdown.find('.dropdown-input, .dropdown-footer-list')
.toggle(hideElements);
......
......@@ -136,8 +136,8 @@
return true;
},
clicked: function(selected, $el, e) {
if (!selected) return;
var data, isIssueIndex, isMRIndex, page, boardsStore;
if (!selected) return;
page = $('body').data('page');
isIssueIndex = page === 'projects:issues:index';
isMRIndex = (page === page && page === 'projects:merge_requests:index');
......
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