Merge pull request #22024 from overleaf/em-standalone-ai-add-on-is-not-premium

Do not hide upgrade buttons when on standalone AI add-on

GitOrigin-RevId: ec5cf42c051745d5ca1dff57f7cd27a89c21a6a9
This commit is contained in:
Eric Mc Sween
2024-11-25 07:49:07 -05:00
committed by Copybot
parent b3650c81fd
commit ecf09faecb
11 changed files with 46 additions and 19 deletions
@@ -392,7 +392,10 @@ async function projectListPage(req, res, next) {
let showLATAMBanner = false
let recommendedCurrency
if (usersBestSubscription?.type === 'free') {
if (
usersBestSubscription?.type === 'free' ||
usersBestSubscription?.type === 'standalone-ai-add-on'
) {
const latamGeoPricingAssignment =
await SplitTestHandler.promises.getAssignment(
req,