fix(editor): Fix folders UI for different plans (no-changelog) (#14159)

This commit is contained in:
Milorad FIlipović
2025-03-25 11:56:37 +01:00
committed by GitHub
parent ca01236dd1
commit 1ff3049ffb
4 changed files with 22 additions and 5 deletions

View File

@@ -61,7 +61,10 @@ const showSettings = computed(
const homeProject = computed(() => projectsStore.currentProject ?? projectsStore.personalProject);
const showFolders = computed(() => {
return settingsStore.isFoldersFeatureEnabled && route.name !== VIEWS.WORKFLOWS;
return (
settingsStore.isFoldersFeatureEnabled &&
[VIEWS.PROJECTS_WORKFLOWS, VIEWS.PROJECTS_FOLDERS].includes(route.name as VIEWS)
);
});
const ACTION_TYPES = {