chore: improve ux of fetching course

This commit is contained in:
Rotimi Best
2023-12-13 09:29:06 +03:00
parent 09d8c72019
commit 74f3db41bc
4 changed files with 16 additions and 4 deletions
+3
View File
@@ -88,6 +88,9 @@
return goto('/login?redirect=/' + path);
}
// Skip refetching profile, if already in store
if ($profile.id) return;
// Check if user has profile
let {
data: profileData,