Clean up function definitions in TaskListEntry

This commit is contained in:
Adam Coldrick 2020-05-06 01:36:16 +01:00
parent 058df2b6a6
commit 2eb447ccb1

View File

@ -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)
} }