diff options
author | Kushal Pandya <kushal@gitlab.com> | 2018-03-05 18:04:59 +0530 |
---|---|---|
committer | Kushal Pandya <kushal@gitlab.com> | 2018-03-05 18:04:59 +0530 |
commit | 3005d6046484d6cf42fe02aa7577ad123e4d240d (patch) | |
tree | 41972a386ca5176f8761e893185fe703f319b326 /app/assets/javascripts/boards | |
parent | e7789ed91934360f7d7ffda4a15c6cfe6ee0101a (diff) | |
download | gitlab-ce-3005d6046484d6cf42fe02aa7577ad123e4d240d.tar.gz |
ListLabel Shared Model
Diffstat (limited to 'app/assets/javascripts/boards')
-rw-r--r-- | app/assets/javascripts/boards/models/label.js | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/app/assets/javascripts/boards/models/label.js b/app/assets/javascripts/boards/models/label.js deleted file mode 100644 index 98c1ec014c4..00000000000 --- a/app/assets/javascripts/boards/models/label.js +++ /dev/null @@ -1,15 +0,0 @@ -/* eslint-disable no-unused-vars, space-before-function-paren */ - -class ListLabel { - constructor (obj) { - this.id = obj.id; - this.title = obj.title; - this.type = obj.type; - this.color = obj.color; - this.textColor = obj.text_color; - this.description = obj.description; - this.priority = (obj.priority !== null) ? obj.priority : Infinity; - } -} - -window.ListLabel = ListLabel; |