diff options
| author | Mark Felder <feld@FreeBSD.org> | 2020-05-12 13:59:52 -0500 |
|---|---|---|
| committer | Mark Felder <feld@FreeBSD.org> | 2020-05-12 13:59:52 -0500 |
| commit | bc5005b3ddddeb47d5160a1b79d2edb39e887b4b (patch) | |
| tree | 98770d51dd4dc12024a50e0521e6c8b328442488 /src/App.js | |
| parent | 7a0e554daf843fe9e98053e79ec0114c380ededb (diff) | |
Permit sidebar alignment with instance configuration option
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 () { |
