Skip to content

Conversation

rudransh-techdome
Copy link

Ticket number: 2164
Downgrade functionality for users to downgrade from any higher to lower plans.

@itsmdasifraza itsmdasifraza changed the base branch from development to release/2.34.0 October 13, 2025 10:09
Comment on lines 6 to 7
export let isOpen: boolean = false;
export let currentPlan: string;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rudransh-techdome, pass complete current plan and selected plan.

const to = selectedPlan?.toLowerCase?.() || '';

// Professional → Standard: 5
if (from === 'professional' && to === 'standard') return 5;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rudransh-techdome , The limit value should be applied dynamically from the backend based on the user's plan and selected. Please avoid using static values.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants