aboutsummaryrefslogtreecommitdiff
path: root/src/App.js
diff options
context:
space:
mode:
authorShpuld Shpludson <shp@cock.li>2019-08-12 18:42:58 +0000
committerShpuld Shpludson <shp@cock.li>2019-08-12 18:42:58 +0000
commit58b9b6c0a2005a7f3ad2d3b8791635fd10d0ea36 (patch)
tree8fbc841f63104a56a268b28d2d9958a493b98e48 /src/App.js
parent07086ec9aef06e22733a007c9d2691571c2d1cb3 (diff)
parent0bce615fe8bd0c219c66c2bc6459444df5f52ff5 (diff)
Merge branch '638' into 'develop'
Fix inconsistent space bug between panels Closes #638 See merge request pleroma/pleroma-fe!916
Diffstat (limited to 'src/App.js')
-rw-r--r--src/App.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/App.js b/src/App.js
index 3624171e..e9cd5917 100644
--- a/src/App.js
+++ b/src/App.js
@@ -89,7 +89,11 @@ export default {
sitename () { return this.$store.state.instance.name },
chat () { return this.$store.state.chat.channel.state === 'joined' },
suggestionsEnabled () { return this.$store.state.instance.suggestionsEnabled },
- showInstanceSpecificPanel () { return this.$store.state.instance.showInstanceSpecificPanel },
+ showInstanceSpecificPanel () {
+ return this.$store.state.instance.showInstanceSpecificPanel &&
+ !this.$store.state.config.hideISP &&
+ this.$store.state.instance.instanceSpecificPanelContent
+ },
showFeaturesPanel () { return this.$store.state.instance.showFeaturesPanel },
isMobileLayout () { return this.$store.state.interface.mobileLayout }
},