From fcc204dc883aa8422e69a25fd1a94cfaed1aa61c Mon Sep 17 00:00:00 2001 From: kolaente Date: Thu, 11 Sep 2025 22:39:16 +0200 Subject: [PATCH] fix(link share): add better error handling, ensure projects are shown (#1481) --- .../src/components/home/ContentLinkShare.vue | 123 ++++++++++++++++-- frontend/src/i18n/lang/en.json | 6 +- frontend/src/stores/projects.ts | 19 +++ .../src/views/sharing/LinkSharingAuth.vue | 17 +++ 4 files changed, 155 insertions(+), 10 deletions(-) diff --git a/frontend/src/components/home/ContentLinkShare.vue b/frontend/src/components/home/ContentLinkShare.vue index 47ed0a1bb..1146bf6be 100644 --- a/frontend/src/components/home/ContentLinkShare.vue +++ b/frontend/src/components/home/ContentLinkShare.vue @@ -12,12 +12,37 @@ v-if="logoVisible" class="logo" /> -

+ {{ $t('sharing.projectLoadError') }} + + {{ $t('sharing.retry') }} + + + +

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

+
+

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

@@ -28,29 +53,88 @@