mirror of
https://github.com/Litlyx/litlyx
synced 2025-12-10 07:48:37 +01:00
fix delete account
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user