Commit ad5cac4d authored by Mike Greiling's avatar Mike Greiling

Merge branch 'lm-lodas-approvers-select' into 'master'

Replaces underscore with lodash in ./ee/app/assets/javascripts/boards

See merge request gitlab-org/gitlab!28253
parents ef0cc693 c8f687d3
import _ from 'underscore';
import { isNumber } from 'lodash';
export default {
computed: {
validIssueWeight() {
if (this.issue && _.isNumber(this.issue.weight)) {
if (this.issue && isNumber(this.issue.weight)) {
return this.issue.weight >= 0;
}
......
/* eslint-disable class-methods-use-this */
import _ from 'underscore';
import { sortBy } from 'lodash';
import Cookies from 'js-cookie';
import { __, sprintf } from '~/locale';
import sidebarEventHub from '~/sidebar/event_hub';
......@@ -156,7 +156,7 @@ class BoardsStoreEE {
position: 0,
});
this.store.state.lists = _.sortBy(this.store.state.lists, 'position');
this.store.state.lists = sortBy(this.store.state.lists, 'position');
}
removePromotion() {
......
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