diff --git a/frontend/index.html b/frontend/index.html
index 3c378a039..fb64a7142 100644
--- a/frontend/index.html
+++ b/frontend/index.html
@@ -23,9 +23,6 @@
// It has to be the full url, including the last /api/v1 part and port.
// You can change this if your api is not reachable on the same port as the frontend.
window.API_URL = 'http://localhost:3456/api/v1'
- // If enabled, allows the user to nest projects infinitely, instead of the default 2 levels.
- // This setting might change in the future or be removed completely.
- window.PROJECT_INFINITE_NESTING_ENABLED = false
// Allow changing the logo and other icons based on various occasions throughout the year.
window.ALLOW_ICON_CHANGES = true
// Allow using a custom logo via external URL.
diff --git a/frontend/src/components/home/ProjectsNavigationItem.vue b/frontend/src/components/home/ProjectsNavigationItem.vue
index 113dc5753..89161da43 100644
--- a/frontend/src/components/home/ProjectsNavigationItem.vue
+++ b/frontend/src/components/home/ProjectsNavigationItem.vue
@@ -74,7 +74,7 @@
baseStore.currentProject)
const childProjectsOpen = ref(true)
const childProjects = computed(() => {
- if (!canNestDeeper.value) {
- return []
- }
-
return projectStore.getChildProjects(project.id)
.filter(p => !p.isArchived)
.sort((a, b) => a.position - b.position)
})
-
-const canNestDeeper = computed(() => canNestProjectDeeper(level))