Permit sidebar alignment with instance configuration option

This commit is contained in:
Mark Felder 2020-05-12 13:59:52 -05:00
parent 7a0e554daf
commit bc5005b3dd
4 changed files with 13 additions and 3 deletions

View file

@ -99,7 +99,12 @@ export default {
},
showFeaturesPanel () { return this.$store.state.instance.showFeaturesPanel },
isMobileLayout () { return this.$store.state.interface.mobileLayout },
privateMode () { return this.$store.state.instance.private }
privateMode () { return this.$store.state.instance.private },
sidebarAlign () {
return {
'order': this.$store.state.instance.sidebarRight ? 99 : 0
}
}
},
methods: {
scrollToTop () {