more work with notifications drawer
This commit is contained in:
parent
1d3b1ac934
commit
c7e180080a
5 changed files with 32 additions and 7 deletions
|
@ -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) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue