aboutsummaryrefslogtreecommitdiff
path: root/src/App.js
diff options
context:
space:
mode:
authorShpuld Shpludson <shp@cock.li>2020-05-20 15:42:42 +0000
committerShpuld Shpludson <shp@cock.li>2020-05-20 15:42:42 +0000
commita8e9c05f09926f1dde09174752c71c6d5822b6f4 (patch)
tree803de4e4b6c5b63b1028a453aaa52311d4cf5063 /src/App.js
parent0b44a5b601fc57de53a73784374dc71bc28700c7 (diff)
parent2135dc8510d50b4c37765364afdde3f275708e3f (diff)
Merge branch 'feat/sidebar-alignment' into 'develop'
[#765] Permit sidebar alignment with instance configuration option See merge request pleroma/pleroma-fe!1106
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 () {