Commit ca171eed authored by Simon Knox's avatar Simon Knox

fix lints

parent 773da9b4
......@@ -62,7 +62,7 @@ export default {
},
selectedId() {
return this.selected ? this.selected.id : null;
}
},
},
watch: {
selected() {
......@@ -83,8 +83,8 @@ export default {
id: undefined,
};
}
this.board.assignee_id = user.id;
this.board.assignee = user;
this.board.assignee_id = assignee.id;
this.board.assignee = assignee;
},
},
mounted() {
......
......@@ -393,6 +393,7 @@ import CreateLabelDropdown from './create_label';
.catch(fadeOutLoader);
}
else if (handleClick) {
e.preventDefault();
handleClick(label);
}
else {
......
......@@ -174,6 +174,7 @@ import _ from 'underscore';
if (!selected) return;
if (options.handleClick) {
e.preventDefault();
options.handleClick(selected);
return;
}
......
......@@ -445,6 +445,7 @@ function UsersSelect(currentUser, els, options = {}) {
if ($el.closest('.add-issues-modal').length) {
gl.issueBoards.ModalStore.store.filter[$dropdown.data('field-name')] = user.id;
} else if (handleClick) {
e.preventDefault();
handleClick(user, isMarking);
} else if ($dropdown.hasClass('js-filter-submit') && (isIssueIndex || isMRIndex)) {
return Issuable.filterResults($dropdown.closest('form'));
......
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