Clean up function definitions in TaskListEntry
This commit is contained in:
parent
058df2b6a6
commit
2eb447ccb1
@ -16,14 +16,14 @@ import axios from 'axios'
|
|||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'TaskListEntry',
|
name: 'TaskListEntry',
|
||||||
data: function () {
|
data () {
|
||||||
return {
|
return {
|
||||||
assignee: {},
|
assignee: {},
|
||||||
branch: {}
|
branch: {}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
props: ['task'],
|
props: ['task'],
|
||||||
created: function () {
|
created () {
|
||||||
if (this.task.assignee_id) {
|
if (this.task.assignee_id) {
|
||||||
this.getAssignee(this.task.assignee_id)
|
this.getAssignee(this.task.assignee_id)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user