diff options
| author | scarlett <nia@netbsd.org> | 2018-10-16 14:09:29 +0100 |
|---|---|---|
| committer | scarlett <nia@netbsd.org> | 2018-10-16 14:09:29 +0100 |
| commit | 4cc1ed6171b7fc0e8dc793fbb80e0a63cf83ec40 (patch) | |
| tree | a740845efd742f1a9f1b1a1f0543d996fcb923c2 /src/components/user_card_content/user_card_content.js | |
| parent | 145929207ef9204066b03ab104284168a054b5f0 (diff) | |
| parent | f554edc054fcb6e0508ed5da7dc9edf1a85d2305 (diff) | |
Merge branch 'develop' of git.pleroma.social:pleroma/pleroma-fe into hide-statistics
Diffstat (limited to 'src/components/user_card_content/user_card_content.js')
| -rw-r--r-- | src/components/user_card_content/user_card_content.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/components/user_card_content/user_card_content.js b/src/components/user_card_content/user_card_content.js index eefa65f3..b5dd9b91 100644 --- a/src/components/user_card_content/user_card_content.js +++ b/src/components/user_card_content/user_card_content.js @@ -5,7 +5,9 @@ export default { props: [ 'user', 'switcher', 'selected', 'hideBio' ], data () { return { - hideUserStatsLocal: this.$store.state.config.hideUserStats + hideUserStatsLocal: typeof this.$store.state.config.hideUserStats === 'undefined' + ? this.$store.state.instance.hideUserStats + : this.$store.state.config.hideUserStats } }, computed: { |
