Docs: token AI status is shown from Cross Events 2.2.0 (was planned for 2.3.0)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -117,7 +117,7 @@ function allowanceTokens(capCents, price) {
|
||||
* - enabled false → hidden (cap R0, licence not active, or the Hub's AI not set up);
|
||||
* - capReached → shown but disabled until `renewsOn` or until the cap is raised.
|
||||
* `used` is this month's use from usedThisMonth. The cents stay for installs older than Events
|
||||
* 2.3.0; newer ones show only tokens and the percentage.
|
||||
* 2.2.0; newer ones show only tokens and the percentage.
|
||||
*/
|
||||
function statusOf({ licence, price, used, now = new Date() }) {
|
||||
const chargedMillicents = used?.chargedMillicents || 0;
|
||||
|
||||
Reference in New Issue
Block a user