Always show dm panel.
This commit is contained in:
parent
b37a0f4f23
commit
c7d469249e
|
@ -5,9 +5,6 @@ const NavPanel = {
|
|||
},
|
||||
chat () {
|
||||
return this.$store.state.chat.channel
|
||||
},
|
||||
showDMs () {
|
||||
return this.$store.state.instance.scopeOptionsEnabled
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue