@hulkapps/app-manager-vue 2.5.9 → 2.5.10

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hulkapps/app-manager-vue",
3
- "version": "2.5.9",
3
+ "version": "2.5.10",
4
4
  "description": "Vue SDK to render app manager contents",
5
5
  "main": "dist/app-manager-vue.ssr.js",
6
6
  "browser": "dist/app-manager-vue.esm.js",
@@ -426,7 +426,7 @@
426
426
  return this.shop.plan && plan.id === this.shop.plan.id;
427
427
  },
428
428
  isActivePlanGlobal() {
429
- return this.shop.plan.is_global;
429
+ return this.shop.plan?.is_global;
430
430
  },
431
431
  isActiveGlobalCharge() {
432
432
  return this.global_plan_charge;
@@ -423,7 +423,7 @@
423
423
  return this.has_active_charge && this.shop.plan && (plan.id === this.shop.plan.id || (!plan.is_custom && plan.base_plan === this.shop.plan.id));
424
424
  },
425
425
  isActivePlanGlobal() {
426
- return this.shop.plan.is_global;
426
+ return this.shop.plan?.is_global;
427
427
  },
428
428
  isActiveGlobalCharge() {
429
429
  return this.global_plan_charge;