7ca77203c0
This has the benefit that CE bundles will remove dead code in CE only builds. We have a follow-up issue to get rid of this completely: https://gitlab.com/gitlab-org/gitlab-ce/issues/64173
15 lines
324 B
JavaScript
15 lines
324 B
JavaScript
export default class ListMilestone {
|
|
constructor(obj) {
|
|
this.id = obj.id;
|
|
this.title = obj.title;
|
|
|
|
if (IS_EE) {
|
|
this.path = obj.path;
|
|
this.state = obj.state;
|
|
this.webUrl = obj.web_url || obj.webUrl;
|
|
this.description = obj.description;
|
|
}
|
|
}
|
|
}
|
|
|
|
window.ListMilestone = ListMilestone;
|