Commit d1361c41 authored by Bryce Johnson's avatar Bryce Johnson

Expose server results on data, not computed.

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