From af7ff656f8b3a6a251ea9d6819a20a5bc3689a19 Mon Sep 17 00:00:00 2001 From: MiniDigger | Martin Date: Thu, 25 Jul 2024 20:51:08 +0200 Subject: [PATCH] fix: nuxt content loss on org pages --- frontend/src/pages/[user].vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/frontend/src/pages/[user].vue b/frontend/src/pages/[user].vue index e50ae49a7..9fc1f2484 100644 --- a/frontend/src/pages/[user].vue +++ b/frontend/src/pages/[user].vue @@ -10,7 +10,9 @@ if (blocking.value) { const u = await useUser(route.params.user); await cb(u); } else { - useUser(route.params.user).then(cb); + // manually carry nuxt content over cause ???? + const nuxtApp = useNuxtApp(); + useUser(route.params.user).then((u) => nuxtApp.runWithContext(() => cb(u))); } async function cb(u: Ref) {