hide instance url/link/text in header using hideSitename option

This commit is contained in:
taehoon 2019-12-01 19:34:01 -05:00
parent abb6747f43
commit d0c78989aa
8 changed files with 10 additions and 1 deletions

View file

@ -29,6 +29,7 @@ const MobileNav = {
unseenNotificationsCount () {
return this.unseenNotifications.length
},
hideSitename () { return this.$store.state.instance.hideSitename },
sitename () { return this.$store.state.instance.name }
},
methods: {

View file

@ -17,6 +17,7 @@
<i class="button-icon icon-menu" />
</a>
<router-link
v-if="!hideSitename"
class="site-name"
:to="{ name: 'root' }"
active-class="home"