Commit 1d2ba80c authored by Fatih Acet's avatar Fatih Acet

Merge branch...

Merge branch '10015-move-ee-differences-for-app-assets-javascripts-boards-models-milestone-js' into 'master'

Resolve "Move EE differences for `app/assets/javascripts/boards/models/milestone.js`"

Closes #10015

See merge request gitlab-org/gitlab-ee!10774
parents 1c08b121 e65987d2
import { isEE } from '~/lib/utils/common_utils';
export default class ListMilestone {
constructor(obj) {
this.id = obj.id;
this.title = obj.title;
this.path = obj.path;
this.state = obj.state;
this.webUrl = obj.web_url || obj.webUrl;
this.description = obj.description;
if (isEE) {
this.path = obj.path;
this.state = obj.state;
this.webUrl = obj.web_url || obj.webUrl;
this.description = obj.description;
}
}
}
......
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