side drawer: same treatment
This commit is contained in:
parent
cb5f73148a
commit
43d4d17b41
@ -34,6 +34,12 @@ const SideDrawer = {
|
||||
},
|
||||
followRequestCount () {
|
||||
return this.$store.state.api.followRequests.length
|
||||
},
|
||||
privateMode () {
|
||||
return this.$store.state.instance.private
|
||||
},
|
||||
federating () {
|
||||
return this.$store.state.instance.federationPolicy.federating || true
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
|
@ -79,12 +79,12 @@
|
||||
</span>
|
||||
</router-link>
|
||||
</li>
|
||||
<li @click="toggleDrawer">
|
||||
<li @click="toggleDrawer" v-if="currentUser || !privateMode">
|
||||
<router-link to="/main/public">
|
||||
{{ $t("nav.public_tl") }}
|
||||
</router-link>
|
||||
</li>
|
||||
<li @click="toggleDrawer">
|
||||
<li @click="toggleDrawer" v-if="(currentUser || !privateMode) && federating">
|
||||
<router-link to="/main/all">
|
||||
{{ $t("nav.twkn") }}
|
||||
</router-link>
|
||||
@ -99,7 +99,7 @@
|
||||
</li>
|
||||
</ul>
|
||||
<ul>
|
||||
<li @click="toggleDrawer">
|
||||
<li @click="toggleDrawer" v-if="currentUser || !privateMode">
|
||||
<router-link :to="{ name: 'search' }">
|
||||
{{ $t("nav.search") }}
|
||||
</router-link>
|
||||
|
Loading…
Reference in New Issue
Block a user