Skip to content
Snippets Groups Projects
Commit 58b9b6c0 authored by Shpuld Shpludson's avatar Shpuld Shpludson
Browse files

Merge branch '638' into 'develop'

Fix inconsistent space bug between panels

Closes #638

See merge request !916
parents 07086ec9 0bce615f
No related branches found
No related tags found
2 merge requests!1028`master` refresh with `develop`,!916Fix inconsistent space bug between panels
Pipeline #15837 passed
......@@ -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 }
},
......
......@@ -2,9 +2,6 @@ const InstanceSpecificPanel = {
computed: {
instanceSpecificPanelContent () {
return this.$store.state.instance.instanceSpecificPanelContent
},
show () {
return !this.$store.state.config.hideISP
}
}
}
......
<template>
<div
v-if="show"
class="instance-specific-panel"
>
<div class="instance-specific-panel">
<div class="panel panel-default">
<div class="panel-body">
<!-- eslint-disable vue/no-v-html -->
......@@ -14,6 +11,3 @@
</template>
<script src="./instance_specific_panel.js" ></script>
<style lang="scss">
</style>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment