diff options
| author | HJ <30-hj@users.noreply.git.pleroma.social> | 2022-08-22 22:29:13 +0000 |
|---|---|---|
| committer | HJ <30-hj@users.noreply.git.pleroma.social> | 2022-08-22 22:29:13 +0000 |
| commit | 272b748f26d0bb7b9f3a00336a908d507f4169bc (patch) | |
| tree | e0d102a21b4a62aab390617b2b217341cb969e3d /src/App.js | |
| parent | a403f93b478eec67d779400b1fcfdc006bb787da (diff) | |
| parent | 88a3cf8705f925c31b5fad67d0fb709a51447156 (diff) | |
Merge branch 'develop' into 'allow-opening-profile-in-user-popover'
# Conflicts:
# src/components/settings_modal/tabs/general_tab.vue
Diffstat (limited to 'src/App.js')
| -rw-r--r-- | src/App.js | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -32,6 +32,7 @@ export default { MobileNav, DesktopNav, SettingsModal: defineAsyncComponent(() => import('./components/settings_modal/settings_modal.vue')), + UpdateNotification: defineAsyncComponent(() => import('./components/update_notification/update_notification.vue')), UserReportingModal, PostStatusModal, GlobalNoticeList @@ -59,6 +60,13 @@ export default { '-' + this.layoutType ] }, + navClasses () { + const { navbarColumnStretch } = this.$store.getters.mergedConfig + return [ + '-' + this.layoutType, + ...(navbarColumnStretch ? ['-column-stretch'] : []) + ] + }, currentUser () { return this.$store.state.users.currentUser }, userBackground () { return this.currentUser.background_image }, instanceBackground () { |
