refactor(core): Decouple module settings from frontend service (#16324)

Co-authored-by: Danny Martini <danny@n8n.io>
This commit is contained in:
Iván Ovejero
2025-06-18 10:00:02 +02:00
committed by GitHub
parent 49b9439ec0
commit 6ba8e0bebe
28 changed files with 227 additions and 172 deletions

View File

@@ -112,7 +112,7 @@ const mainMenuItems = computed(() => [
position: 'bottom',
route: { to: { name: VIEWS.INSIGHTS } },
available:
settingsStore.settings.insights.enabled &&
settingsStore.settings.loadedModules.includes('insights') &&
hasPermission(['rbac'], { rbac: { scope: 'insights:list' } }),
},
{