web-manager 3.2.20 → 3.2.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/lib/account.js +4 -1
  2. package/package.json +2 -2
package/lib/account.js CHANGED
@@ -454,7 +454,10 @@ Account.prototype._resolveAccount = function (firebaseUser, account, options) {
454
454
  }
455
455
 
456
456
  // Update trial UI
457
- if (account.plan.trial.activated) {
457
+ if (
458
+ account.plan.trial.activated
459
+ && daysTillTrialExpire > 0
460
+ ) {
458
461
  billingTrialExpirationDateEl
459
462
  .removeAttribute('hidden')
460
463
  .setInnerHTML('<i class="fas fa-gift mr-1"></i> Your free trial expires in ' + daysTillTrialExpire + ' days');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "web-manager",
3
- "version": "3.2.20",
3
+ "version": "3.2.21",
4
4
  "description": "Easily access important variables such as the query string, current domain, and current page in a single object.",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -36,4 +36,4 @@
36
36
  "firebase": "^9.23.0",
37
37
  "lazysizes": "^5.3.2"
38
38
  }
39
- }
39
+ }