This commit is contained in:
parent
2f2f72c483
commit
620681063a
|
@ -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
|
||||
|
|
|
@ -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
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user