1
0

feat: allow creating a new project directly as a child project from another one

This commit is contained in:
kolaente
2023-04-14 18:18:03 +02:00
parent 9c3259c660
commit b34118485c
6 changed files with 55 additions and 14 deletions

View File

@ -0,0 +1,7 @@
export function canNestProjectDeeper(level: number) {
if (level < 2) {
return true
}
return level >= 2 && window.PROJECT_INFINITE_NESTING_ENABLED
}