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

label.js.es6 « models « boards « javascripts « assets « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: e81e91fe972f0d9f528cbfe7ea92d40f293d1564 (plain)
1
2
3
4
5
6
7
8
9
class ListLabel {
  constructor (obj) {
    this.id = obj.id;
    this.title = obj.title;
    this.color = obj.color;
    this.description = obj.description;
    this.priority = (obj.priority !== null) ? obj.priority : Infinity;
  }
}