diff options
| author | Shpuld Shpludson <shp@cock.li> | 2020-05-20 15:42:42 +0000 |
|---|---|---|
| committer | Shpuld Shpludson <shp@cock.li> | 2020-05-20 15:42:42 +0000 |
| commit | a8e9c05f09926f1dde09174752c71c6d5822b6f4 (patch) | |
| tree | 803de4e4b6c5b63b1028a453aaa52311d4cf5063 /src/App.js | |
| parent | 0b44a5b601fc57de53a73784374dc71bc28700c7 (diff) | |
| parent | 2135dc8510d50b4c37765364afdde3f275708e3f (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.js | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -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 () { |
