diff --git a/packages/frontend-2/components/settings/workspaces/billing/PricingTable/Plan.vue b/packages/frontend-2/components/settings/workspaces/billing/PricingTable/Plan.vue index 8c9155211d..9679833b50 100644 --- a/packages/frontend-2/components/settings/workspaces/billing/PricingTable/Plan.vue +++ b/packages/frontend-2/components/settings/workspaces/billing/PricingTable/Plan.vue @@ -165,9 +165,11 @@ const isSelectable = computed(() => { return canUpgradeToPlan.value }) const toggleEnabled = computed(() => { - return isSelectable.value && statusIsTrial.value + return statusIsTrial.value ? true - : canUpgradeToPlan.value && props.currentPlan?.name !== props.plan.name + : canUpgradeToPlan.value || + (props.currentPlan?.name === props.plan.name && + props.activeBillingInterval === BillingInterval.Monthly) }) const buttonText = computed(() => { // Trial plan case diff --git a/packages/server/modules/core/graph/generated/graphql.ts b/packages/server/modules/core/graph/generated/graphql.ts index 194e1f0999..2fa5c474a8 100644 --- a/packages/server/modules/core/graph/generated/graphql.ts +++ b/packages/server/modules/core/graph/generated/graphql.ts @@ -324,8 +324,6 @@ export type AutomateFunctionTemplate = { }; export enum AutomateFunctionTemplateLanguage { - Demonstration = 'DEMONSTRATION', - Demonstrationpython = 'DEMONSTRATIONPYTHON', DotNet = 'DOT_NET', Python = 'PYTHON', Typescript = 'TYPESCRIPT' diff --git a/packages/server/modules/cross-server-sync/graph/generated/graphql.ts b/packages/server/modules/cross-server-sync/graph/generated/graphql.ts index 8fcf2c5f12..8a2655b7bd 100644 --- a/packages/server/modules/cross-server-sync/graph/generated/graphql.ts +++ b/packages/server/modules/cross-server-sync/graph/generated/graphql.ts @@ -305,8 +305,6 @@ export type AutomateFunctionTemplate = { }; export enum AutomateFunctionTemplateLanguage { - Demonstration = 'DEMONSTRATION', - Demonstrationpython = 'DEMONSTRATIONPYTHON', DotNet = 'DOT_NET', Python = 'PYTHON', Typescript = 'TYPESCRIPT'