Skip to content
Snippets Groups Projects

Mobile notifications in nav bar, separate mobile navbar to its own component

Merged Shpuld Shpludson requested to merge feature/mobile-improvements-3 into develop
1 unresolved thread
Files
3
+ 2
2
import Vue from 'vue'
import VueRouter from 'vue-router'
import routes from './routes'
import App from '../App.vue'
import { windowWidth } from '../services/window_utils/window_utils'
const getStatusnetConfig = async ({ store }) => {
try {
@@ -230,7 +230,7 @@ const afterStoreSetup = async ({ store, i18n }) => {
})
}
const width = window.innerWidth || document.documentElement.clientWidth || document.body.clientWidth
const width = windowWidth()
store.dispatch('setMobileLayout', width <= 800)
const apiConfig = await getStatusnetConfig({ store })
Loading