aboutsummaryrefslogtreecommitdiff
path: root/src/App.js
diff options
context:
space:
mode:
authorMark Felder <feld@FreeBSD.org>2020-05-12 13:59:52 -0500
committerMark Felder <feld@FreeBSD.org>2020-05-12 13:59:52 -0500
commitbc5005b3ddddeb47d5160a1b79d2edb39e887b4b (patch)
tree98770d51dd4dc12024a50e0521e6c8b328442488 /src/App.js
parent7a0e554daf843fe9e98053e79ec0114c380ededb (diff)
Permit sidebar alignment with instance configuration option
Diffstat (limited to 'src/App.js')
-rw-r--r--src/App.js7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/App.js b/src/App.js
index 61b5eec1..bbb41409 100644
--- a/src/App.js
+++ b/src/App.js
@@ -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 () {