Fix style of new setter and refer to new value in desktop_nav

This commit is contained in:
Ed Poe 2022-11-16 13:28:58 -05:00
parent 021216d5e3
commit cde3e55634
2 changed files with 2 additions and 1 deletions

View File

@ -92,7 +92,7 @@ export default {
editingAvailable () { return this.$store.state.instance.editingAvailable },
layoutType () { return this.$store.state.interface.layoutType },
privateMode () { return this.$store.state.instance.private },
showPublicExternalTimeline () {return currentUser() || !(privateMode || this.$store.state.instance.restrict_unauthenticated.timelines.federated)},
showPublicExternalTimeline () {return currentUser() || !(privateMode || this.$store.state.instance.restrict_unauthenticated.timelines.federated) },
reverseLayout () {
const { thirdColumnMode, sidebarRight: reverseSetting } = this.$store.getters.mergedConfig
if (this.layoutType !== 'wide') {

View File

@ -67,6 +67,7 @@
/>
</router-link>
<router-link
v-if="showPublicExternalTimeline"
:to="{ name: 'public-external-timeline' }"
class="nav-icon"
>