debian-mirror-gitlab/app/assets/javascripts/boards/models/milestone.js

16 lines
324 B
JavaScript
Raw Normal View History

2019-07-31 22:56:46 +05:30
export default class ListMilestone {
2017-08-17 22:00:37 +05:30
constructor(obj) {
this.id = obj.id;
this.title = obj.title;
2019-07-31 22:56:46 +05:30
2019-09-30 21:07:59 +05:30
if (IS_EE) {
2019-07-31 22:56:46 +05:30
this.path = obj.path;
this.state = obj.state;
this.webUrl = obj.web_url || obj.webUrl;
this.description = obj.description;
}
2017-08-17 22:00:37 +05:30
}
}
window.ListMilestone = ListMilestone;