aboutsummaryrefslogtreecommitdiff
path: root/src/components/mobile_nav
diff options
context:
space:
mode:
authorHJ <30-hj@users.noreply.git.pleroma.social>2019-12-11 15:59:46 +0000
committerHJ <30-hj@users.noreply.git.pleroma.social>2019-12-11 15:59:46 +0000
commit3cc6f80628233c8b67912af868062f34bd49655a (patch)
treeca5551f4de01729fcf62c20d551a45c64dfd2918 /src/components/mobile_nav
parentabb6747f43f7b903c9ffb643a713e8720938d2af (diff)
parentfee3226705beb4b6eddb8e64f8c53b2651ca89fa (diff)
Merge branch 'hideSitename' into 'develop'
Hide instance url/link/text in header using hideSitename instance option See merge request pleroma/pleroma-fe!1018
Diffstat (limited to 'src/components/mobile_nav')
-rw-r--r--src/components/mobile_nav/mobile_nav.js1
-rw-r--r--src/components/mobile_nav/mobile_nav.vue1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/components/mobile_nav/mobile_nav.js b/src/components/mobile_nav/mobile_nav.js
index 5a90c31f..c1166a0c 100644
--- a/src/components/mobile_nav/mobile_nav.js
+++ b/src/components/mobile_nav/mobile_nav.js
@@ -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: {
diff --git a/src/components/mobile_nav/mobile_nav.vue b/src/components/mobile_nav/mobile_nav.vue
index d1c24e56..51f1d636 100644
--- a/src/components/mobile_nav/mobile_nav.vue
+++ b/src/components/mobile_nav/mobile_nav.vue
@@ -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"