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 () { chat () {
return this.$store.state.chat.channel return this.$store.state.chat.channel
},
showDMs () {
return this.$store.state.instance.scopeOptionsEnabled
} }
} }
} }

View File

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