Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
billing: Show annual data for fixed-price plan, by default.
Prakhar Pratyush79a1b3b80eb4
diff --git a/web/src/billing/upgrade.ts b/web/src/billing/upgrade.tsindex ec807edc978..6bf78fd7e46 100644--- a/web/src/billing/upgrade.ts+++ b/web/src/billing/upgrade.ts@@ -29,6 +29,10 @@ if ($("input[type=hidden][name=schedule]").length === 1) {// we need to override schedule from localstorage if it was set.selected_schedule = $<HTMLInputElement>("input[type=hidden][name=schedule]").val()!;}+if (page_params.fixed_price !== null) {+ // By default, we show annual schedule (and price) for a fixed-price plan.+ selected_schedule = "annual";+}let current_license_count = page_params.seat_count;