Skip to content

Commit

Permalink
Fixes bug preveting from switching organizations (#2335)
Browse files Browse the repository at this point in the history
  • Loading branch information
mvilanova authored Jul 7, 2022
1 parent a635bec commit 36efab7
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 14 deletions.
11 changes: 0 additions & 11 deletions src/dispatch/static/dispatch/src/components/AppToolbar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -126,17 +126,6 @@
</v-list-item>
</v-card>
</v-menu>
<!--
<v-menu offset-y origin="center center" class="elelvation-1" :nudge-bottom="14" transition="scale-transition">
<v-btn icon text slot="activator">
<v-badge color="red" overlap>
<span slot="badge">3</span>
<v-icon medium>notifications</v-icon>
</v-badge>
</v-btn>
<notification-list></notification-list>
</v-menu>
-->
</v-toolbar-items>
</v-app-bar>
</template>
Expand Down
1 change: 0 additions & 1 deletion src/dispatch/static/dispatch/src/router/config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { DefaultLayout, DashboardLayout, BasicLayout } from "@/components/layouts"
//import auth_store from "@/auth/store"

const withPrefix = (prefix, routes) =>
routes.map((route) => {
Expand Down
4 changes: 2 additions & 2 deletions src/dispatch/static/dispatch/src/router/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,10 @@ router.beforeEach((to, from, next) => {
.then(function () {
return userSettings.load()
})
.then(next)
.then(next())
}
} else {
userSettings.load().then(next)
userSettings.load().then(next())
}
} else {
next()
Expand Down

0 comments on commit 36efab7

Please sign in to comment.