export default ({ app, store }) => { app.router.beforeEach((to, from, next) => { store.dispatch("toggleOrgID").then(() => { next(); }).catch(() => { next(); }); }); }