Welcome to mirror list, hosted at ThFree Co, Russian Federation.

milestone.js « models « boards « javascripts « assets « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 7201b6e91f5565cd8aa550ee24d3759c784180ac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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;