satisfy lint

This commit is contained in:
scarlett 2018-10-16 14:15:04 +01:00
parent 4cc1ed6171
commit 2bb663f0f6
3 changed files with 4 additions and 4 deletions

View file

@ -2,7 +2,7 @@ const FavoriteButton = {
props: ['status', 'loggedIn'], props: ['status', 'loggedIn'],
data () { data () {
return { return {
hidePostStatsLocal: typeof this.$store.state.config.hidePostStats == 'undefined' hidePostStatsLocal: typeof this.$store.state.config.hidePostStats === 'undefined'
? this.$store.state.instance.hidePostStats ? this.$store.state.instance.hidePostStats
: this.$store.state.config.hidePostStats, : this.$store.state.config.hidePostStats,
animated: false animated: false

View file

@ -2,7 +2,7 @@ const RetweetButton = {
props: ['status', 'loggedIn', 'visibility'], props: ['status', 'loggedIn', 'visibility'],
data () { data () {
return { return {
hidePostStatsLocal: typeof this.$store.state.config.hidePostStats == 'undefined' hidePostStatsLocal: typeof this.$store.state.config.hidePostStats === 'undefined'
? this.$store.state.instance.hidePostStats ? this.$store.state.instance.hidePostStats
: this.$store.state.config.hidePostStats, : this.$store.state.config.hidePostStats,
animated: false animated: false