Skip to content

Commit 0ded48d

Browse files
committed
fix: fixed incorrect references to state
1 parent 7c9a7d5 commit 0ded48d

File tree

3 files changed

+4
-6
lines changed

3 files changed

+4
-6
lines changed

src/views/activity/ActivityBrowser.vue

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,15 +41,13 @@ export default {
4141
return {
4242
filterAFK: true,
4343
timelineShowAFK: true,
44-
4544
// browserBucketSelected: 'all',
46-
4745
top_web_count: 5,
4846
};
4947
},
5048
computed: {
5149
browserBuckets: function() {
52-
return this.$store.state.activity.buckets.browser_buckets;
50+
return this.$store.state.activity.buckets.browser;
5351
},
5452
},
5553
};

src/views/activity/ActivityEditor.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ export default {
6363
6464
computed: {
6565
editorBuckets: function() {
66-
return this.$store.state.activity.buckets.editor_buckets;
66+
return this.$store.state.activity.buckets.editor;
6767
},
6868
dateEnd: function() {
6969
return moment(this.date)

src/views/activity/ActivityWindow.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,10 @@ export default {
4343
return this.$store.state.activity.window.top_titles;
4444
},
4545
bucket_id_window: function() {
46-
return this.$store.state.activity.buckets.window_buckets[0];
46+
return this.$store.state.activity.buckets.window[0];
4747
},
4848
bucket_id_afk: function() {
49-
return this.$store.state.activity.buckets.afk_buckets[0];
49+
return this.$store.state.activity.buckets.afk[0];
5050
},
5151
},
5252
};

0 commit comments

Comments
 (0)