Skip to content

Commit

Permalink
fix: fixed incorrect references to state
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikBjare committed May 4, 2020
1 parent 7c9a7d5 commit 0ded48d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
4 changes: 1 addition & 3 deletions src/views/activity/ActivityBrowser.vue
Expand Up @@ -41,15 +41,13 @@ export default {
return {
filterAFK: true,
timelineShowAFK: true,
// browserBucketSelected: 'all',
top_web_count: 5,
};
},
computed: {
browserBuckets: function() {
return this.$store.state.activity.buckets.browser_buckets;
return this.$store.state.activity.buckets.browser;
},
},
};
Expand Down
2 changes: 1 addition & 1 deletion src/views/activity/ActivityEditor.vue
Expand Up @@ -63,7 +63,7 @@ export default {
computed: {
editorBuckets: function() {
return this.$store.state.activity.buckets.editor_buckets;
return this.$store.state.activity.buckets.editor;
},
dateEnd: function() {
return moment(this.date)
Expand Down
4 changes: 2 additions & 2 deletions src/views/activity/ActivityWindow.vue
Expand Up @@ -43,10 +43,10 @@ export default {
return this.$store.state.activity.window.top_titles;
},
bucket_id_window: function() {
return this.$store.state.activity.buckets.window_buckets[0];
return this.$store.state.activity.buckets.window[0];
},
bucket_id_afk: function() {
return this.$store.state.activity.buckets.afk_buckets[0];
return this.$store.state.activity.buckets.afk[0];
},
},
};
Expand Down

0 comments on commit 0ded48d

Please sign in to comment.