more work with notifications drawer

This commit is contained in:
shpuld 2019-03-03 16:33:40 +02:00
parent 1d3b1ac934
commit c7e180080a
5 changed files with 32 additions and 7 deletions

View file

@ -5,6 +5,9 @@ import routes from './routes'
import App from '../App.vue'
const afterStoreSetup = ({ store, i18n }) => {
const width = window.innerWidth || document.documentElement.clientWidth || document.body.clientWidth
store.dispatch('setMobileLayout', width <= 800)
window.fetch('/api/statusnet/config.json')
.then((res) => res.json())
.then((data) => {