diff --git a/src/components/home/ProjectsNavigationItem.vue b/src/components/home/ProjectsNavigationItem.vue index 9826d2ce9..cb8b49e0f 100644 --- a/src/components/home/ProjectsNavigationItem.vue +++ b/src/components/home/ProjectsNavigationItem.vue @@ -14,7 +14,7 @@ -
+

{{ currentProject.title === '' ? $t('misc.loading') : getProjectTitle(currentProject) }}

@@ -89,7 +89,7 @@ import { useAuthStore } from '@/stores/auth' const baseStore = useBaseStore() const currentProject = computed(() => baseStore.currentProject) const background = computed(() => baseStore.background) -const canWriteCurrentProject = computed(() => baseStore.currentProject.maxRight > Rights.READ) +const canWriteCurrentProject = computed(() => baseStore.currentProject?.maxRight > Rights.READ) const menuActive = computed(() => baseStore.menuActive) const authStore = useAuthStore() diff --git a/src/components/home/contentLinkShare.vue b/src/components/home/contentLinkShare.vue index 4d7e9238d..451f725de 100644 --- a/src/components/home/contentLinkShare.vue +++ b/src/components/home/contentLinkShare.vue @@ -9,9 +9,9 @@