debian-mirror-gitlab/app/assets/javascripts/boards/models/milestone.js
2019-09-30 21:07:59 +05:30

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;