fix delete account

This commit is contained in:
Emily
2024-06-06 15:08:55 +02:00
parent f8a3a5ce68
commit c15e5d966e
8 changed files with 97 additions and 52 deletions

View File

@@ -13,11 +13,10 @@ const isFirstProject = computed(() => { return projects.value?.length == 0; })
import { Lit } from 'litlyx';
const route = useRoute();
onMounted(() => {
if (projects.value?.length == 0) {
setPageLayout('none');
}
if (route.query.just_logged) return location.href = '/project_creation';
})
@@ -43,7 +42,6 @@ async function createProject() {
await setActiveProject(newActiveProjectId);
}
router.push('/');
} catch (ex: any) {