mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-27 02:51:57 +02:00
Merge pull request #22357 from overleaf/jdt-em-remove-assist-on-dg
feat: remove addon from users when their subscription lapses GitOrigin-RevId: 9435b4e7e10c76ea252040da4d273d9b4cef797b
This commit is contained in:
committed by
Copybot
parent
f9d28dc847
commit
db52445444
@@ -176,7 +176,7 @@ function _aiAddOnFeatures(subscription) {
|
||||
if (subscription?.addOns?.some(addOn => addOn.addOnCode === AI_ADD_ON_CODE)) {
|
||||
return { aiErrorAssistant: true }
|
||||
} else {
|
||||
return {}
|
||||
return { aiErrorAssistant: false }
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user