mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange-2.0.git
synced 2026-08-19 12:33:56 +00:00
Fix: loading previous data
This commit is contained in:
@@ -142,6 +142,8 @@ export default {
|
||||
},
|
||||
watch: {
|
||||
rateHistory: function(newVal) {
|
||||
this.chartLebels = [];
|
||||
this.chartData = [];
|
||||
for (var i = 0; i < newVal.length; i++) {
|
||||
this.chartLebels.push(newVal[i].created_at.split("-")[0]);
|
||||
this.chartData.push(newVal[i]["rate"]);
|
||||
|
||||
Reference in New Issue
Block a user