@@ -111,8 +116,8 @@ async function handleLogout() {
}
const user = computed(() => ({
- name: orgStore.currentOrg?.name || userStore.email || userStore.login,
- description: orgStore.currentOrg ? (userStore.email || userStore.login) : undefined,
+ name: orgStore.currentOrg?.name || userStore.login || userStore.email,
+ description: userStore.email || userStore.login,
avatar: {
src: avatarImg,
alt: userStore.email || userStore.login,
diff --git a/web/src/components/features/projects/ProjectsSidebar.vue b/web/src/components/features/projects/ProjectsSidebar.vue
index dd18aa5..79f6731 100644
--- a/web/src/components/features/projects/ProjectsSidebar.vue
+++ b/web/src/components/features/projects/ProjectsSidebar.vue
@@ -36,9 +36,6 @@ const { goals } = storeToRefs(goalsStore)
const activeProjects = computed(() => goals.value.filter(p => p.archive === 0))
const archivedProjects = computed(() => goals.value.filter(p => p.archive === 1))
-onMounted(async () => {
- await goalsStore.fetchGoals()
-})
watch(() => orgStore.currentOrg, async () => {
goalsStore.initialized = false
diff --git a/web/src/layouts/UserLayout.vue b/web/src/layouts/UserLayout.vue
index 229fef3..fb3b452 100644
--- a/web/src/layouts/UserLayout.vue
+++ b/web/src/layouts/UserLayout.vue
@@ -1,39 +1,41 @@
-
-
+
-
-
- {{ t('main') }}
-
-
-
+
+
+
+ {{ t('main') }}
+
+
+
-
+
-
-
-
-
+
+
+
+
-
-
+
+
-
+
+