Skip to content

Commit abeb987

Browse files
authored
Load configuration after confirming login status (#350)
1 parent 0abc6bd commit abeb987

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

client/src/App.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ export default defineComponent({
3333
const checkLogin = async () => {
3434
if (oauthClient.isLoggedIn) {
3535
loginText.value = "Logout";
36+
await loadConfiguration();
3637
await loadCurrentUser();
3738
await loadReviewerMaterials();
3839
if (sharedList.value.length === 0) {
@@ -53,7 +54,6 @@ export default defineComponent({
5354
}
5455
};
5556
onMounted(async () => {
56-
await loadConfiguration();
5757
checkLogin();
5858
});
5959
router.afterEach((guard) => {

0 commit comments

Comments
 (0)