Commit d1361c41 authored by Bryce Johnson's avatar Bryce Johnson

Expose server results on data, not computed.

parent a5c5cf65
...@@ -11,6 +11,10 @@ ...@@ -11,6 +11,10 @@
data() { data() {
return { return {
showHelp: false, showHelp: false,
timeSpent: this.time_spent,
timeEstimate: this.time_estimate,
timeEstimateHuman: this.human_time_estimate,
timeSpentHuman: this.human_time_spent,
}; };
}, },
components: { components: {
...@@ -22,18 +26,6 @@ ...@@ -22,18 +26,6 @@
'time-tracking-collapsed-state': app.collapsedState, 'time-tracking-collapsed-state': app.collapsedState,
}, },
computed: { computed: {
timeSpent() {
return this.time_spent;
},
timeEstimate() {
return this.time_estimate;
},
timeEstimateHuman() {
return this.human_time_estimate;
},
timeSpentHuman() {
return this.human_time_spent;
},
hasTimeSpent() { hasTimeSpent() {
return !!this.timeSpent; return !!this.timeSpent;
}, },
......
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