aboutsummaryrefslogtreecommitdiff
path: root/src/components/retweet_button/retweet_button.js
diff options
context:
space:
mode:
authorShpuld Shpludson <shp@cock.li>2020-09-29 10:18:37 +0000
committerShpuld Shpludson <shp@cock.li>2020-09-29 10:18:37 +0000
commitf174f289a93e6bef1182a2face00bb809da49d18 (patch)
treeb74b8c3fc7bd07e9c6f38b2a9a8216f1619148c1 /src/components/retweet_button/retweet_button.js
parent38189ee838927c8829efe50c2687c61ff95444b9 (diff)
Timeline virtual scrolling
Diffstat (limited to 'src/components/retweet_button/retweet_button.js')
-rw-r--r--src/components/retweet_button/retweet_button.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/components/retweet_button/retweet_button.js b/src/components/retweet_button/retweet_button.js
index d9a0f92e..5a41f22d 100644
--- a/src/components/retweet_button/retweet_button.js
+++ b/src/components/retweet_button/retweet_button.js
@@ -1,4 +1,3 @@
-import { mapGetters } from 'vuex'
const RetweetButton = {
props: ['status', 'loggedIn', 'visibility'],
@@ -28,7 +27,9 @@ const RetweetButton = {
'animate-spin': this.animated
}
},
- ...mapGetters(['mergedConfig'])
+ mergedConfig () {
+ return this.$store.getters.mergedConfig
+ }
}
}