Skip to content

Commit

Permalink
do not fetch sessions metadata until user prefs are loaded
Browse files Browse the repository at this point in the history
  • Loading branch information
EmmaLRussell committed Oct 26, 2023
1 parent 6579771 commit a965083
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/static/src/app/components/sessions/SessionsPage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -294,9 +294,9 @@ export default defineComponent({
window.location.assign(link);
};
onMounted(() => {
onMounted(async () => {
await store.dispatch(AppStateAction.LoadUserPreferences);
store.dispatch(`${namespace}/${SessionsAction.GetSessions}`);
store.dispatch(AppStateAction.LoadUserPreferences);
});
const messages = userMessages.sessions;
Expand Down

0 comments on commit a965083

Please sign in to comment.