aboutsummaryrefslogtreecommitdiff
path: root/src/main.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.js')
-rw-r--r--src/main.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main.js b/src/main.js
index 6dbc3c0..b5e6b86 100644
--- a/src/main.js
+++ b/src/main.js
@@ -4,7 +4,7 @@ window.onload = function () {
data: {
activeTab: 0,
transactions: [],
- summary: {},
+ summary: {username : ""},
selTodoType: "all",
},
methods: {
@@ -173,6 +173,8 @@ window.onload = function () {
this.summary.year.sort(function(a, b){
return a.y-b.y;
})
+
+ this.summary.username = response.username
});
},
computed: {