Always show dm panel.

This commit is contained in:
Roger Braun 2018-11-13 22:30:00 +01:00
parent b37a0f4f23
commit c7d469249e
2 changed files with 1 additions and 4 deletions

View file

@ -5,9 +5,6 @@ const NavPanel = {
},
chat () {
return this.$store.state.chat.channel
},
showDMs () {
return this.$store.state.instance.scopeOptionsEnabled
}
}
}

View file

@ -12,7 +12,7 @@
{{ $t("nav.mentions") }}
</router-link>
</li>
<li v-if='currentUser && showDMs'>
<li v-if='currentUser'>
<router-link :to="{ name: 'dms', params: { username: currentUser.screen_name } }">
{{ $t("nav.dms") }}
</router-link>