1
0
mirror of https://git.pleroma.social/sjw/pleroma-fe.git synced 2024-12-24 03:25:16 +01:00

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'],
data () {
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.config.hidePostStats,
animated: false

View File

@ -2,7 +2,7 @@ const RetweetButton = {
props: ['status', 'loggedIn', 'visibility'],
data () {
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.config.hidePostStats,
animated: false

View File

@ -16,11 +16,11 @@ const settings = {
hidePostStatsLocal: typeof user.hidePostStats === 'undefined'
? instance.hidePostStats
: user.hidePostStats,
hidePostStatsDefault : this.$t('settings.values.' + instance.hidePostStats),
hidePostStatsDefault: this.$t('settings.values.' + instance.hidePostStats),
hideUserStatsLocal: typeof user.hideUserStats === 'undefined'
? instance.hideUserStats
: user.hideUserStats,
hideUserStatsDefault : this.$t('settings.values.' + instance.hideUserStats),
hideUserStatsDefault: this.$t('settings.values.' + instance.hideUserStats),
notificationVisibilityLocal: user.notificationVisibility,
replyVisibilityLocal: user.replyVisibility,
loopVideoLocal: user.loopVideo,