forked from AkkomaGang/akkoma-fe
Always show dm panel.
This commit is contained in:
parent
b37a0f4f23
commit
c7d469249e
2 changed files with 1 additions and 4 deletions
|
@ -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
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -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>
|
||||||
|
|
Loading…
Reference in a new issue