diff --git a/.vscode/settings.json b/.vscode/settings.json index 71f0092a59..4838a4fd89 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -8,7 +8,7 @@ "editor.defaultFormatter": "vscode.json-language-features" }, "[javascript]": { - "editor.defaultFormatter": "vscode.typescript-language-features" + "editor.defaultFormatter": "esbenp.prettier-vscode" }, "debug.javascript.terminalOptions": { "skipFiles": [ @@ -16,7 +16,4 @@ "/**" ] }, - "[typescript]": { - "editor.defaultFormatter": "vscode.typescript-language-features" - }, } diff --git a/packages/builder/src/pages/builder/portal/apps/index.svelte b/packages/builder/src/pages/builder/portal/apps/index.svelte index 5cac1fb9d8..0d05e170e0 100644 --- a/packages/builder/src/pages/builder/portal/apps/index.svelte +++ b/packages/builder/src/pages/builder/portal/apps/index.svelte @@ -69,7 +69,9 @@ $: unlocked = lockedApps?.length === 0 $: automationErrors = getAutomationErrors(enrichedApps) - $: isProPlan = $auth.user?.license.plan.type !== Constants.PlanType.FREE + $: hasGroupsLicense = $auth.user?.license.features.includes( + Constants.Features.USER_GROUPS + ) const enrichApps = (apps, user, sortBy) => { const enrichedApps = apps.map(app => ({ @@ -358,7 +360,7 @@ {/if}
- {#if isProPlan && $groups.length} + {#if hasGroupsLicense && $groups.length} {/if}