diff --git a/pages/levels/[id]/download.vue b/pages/levels/[id]/download.vue index 47b6d46e0..6dfee9840 100644 --- a/pages/levels/[id]/download.vue +++ b/pages/levels/[id]/download.vue @@ -65,7 +65,7 @@ if (levelId && !data.value?.level) { const downloadLink = ref(null) async function getDownloadLink(verify: () => Promise) { if (!isLogin.value) { - toLogin() + toLogin(route.fullPath) return } @@ -138,6 +138,10 @@ function cancel() { setTimeout(() => router.push(`/levels/${levelId}`), 1000) } } + +defineCytoidPage({ + title: data.value?.level?.title ? `${data.value?.level?.title}` : 'Level', +})