Labels on tasks #25

Merged
konrad merged 22 commits from feature/lables into master 2019-03-07 19:48:40 +00:00
2 changed files with 6 additions and 1 deletions
Showing only changes of commit 620681063a - Show all commits

View File

@ -153,7 +153,7 @@
})
},
editLabel(label) {
if(label.created_by.id !== this.user.id) {
if(label.created_by.id !== this.user.infos.id) {
return
}
this.labelEditLabel = label

View File

@ -20,4 +20,9 @@ export default class LabelService extends AbstractService {
label.hex_color = label.hex_color.substring(1, 7)
return label
}
beforeCreate(label) {
label.hex_color = label.hex_color.substring(1, 7)
return label
}
}