Commit 57de747c authored by Clement Ho's avatar Clement Ho

[skip ci] code review comments

parent f44bac30
......@@ -48,8 +48,7 @@ export default {
eventHub.$on('sidebar.saveUsers', this.saveUsers);
},
beforeMount() {
const element = this.$el;
this.field = element.dataset.field;
this.field = this.$el.dataset.field;
},
template: `
<div>
......
......@@ -24,10 +24,12 @@ export default {
timeSpentHumanReadable: {
type: String,
required: false,
default: '',
},
timeEstimateHumanReadable: {
type: String,
required: false,
default: '',
},
},
methods: {
......
......@@ -13,24 +13,25 @@ export default {
time_estimate: {
type: Number,
required: true,
default: 0,
},
time_spent: {
type: Number,
required: true,
default: 0,
},
human_time_estimate: {
type: String,
required: false,
default: '',
},
human_time_spent: {
type: String,
required: false,
default: '',
},
rootPath: {
type: String,
required: true,
default: '',
},
},
data() {
......
import Vue from 'vue';
import VueResource from 'vue-resource';
import '../../vue_shared/vue_resource_interceptor';
Vue.use(VueResource);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment