geer-builder 1.2.908 → 1.2.910

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.
@@ -63,11 +63,16 @@ export default {
63
63
  {
64
64
  async getProducts()
65
65
  {
66
- this.public_settings = await this.$_getData('public_settings');
67
- this.main_currency = this.public_settings.main_currency;
68
- await this.$bind('product_list', new DB_PRODUCTS().collection().where("type", "in", ["Membership Kit"]).where("show_on_dashboard", "==", true).where("ecommerce", "==", true).where("country_code", "==", this.country_code ? this.country_code : 'PH'));
69
- // await this.$bind('variant_product_list', new DB_PRODUCTS().collection().where("type", "in", ["Membership Kit"]).where("show_on_dashboard", "==", true).where("ecommerce", "==", true).where("country_code", "==", this.country_code ? this.country_code : 'PH'));
70
- // console.log(this.variant_product_list);
66
+ try
67
+ {
68
+ this.public_settings = await this.$_getData('public_settings');
69
+ this.main_currency = this.public_settings.main_currency;
70
+ await this.$bind('product_list', new DB_PRODUCTS().collection().where("type", "in", ["Membership Kit"]).where("show_on_dashboard", "==", true).where("ecommerce", "==", true).where("country_code", "==", this.country_code ? this.country_code : 'PH'));
71
+ }
72
+ catch(e)
73
+ {
74
+ console.warn('GNoSlotDashboardPackage: failed to load products', e.message);
75
+ }
71
76
  },
72
77
  // buyNow(product)
73
78
  // {
package/GSlotWallet.vue CHANGED
@@ -409,6 +409,7 @@ export default
409
409
  },
410
410
  async mounted()
411
411
  {
412
+ if(!this.user_info) return;
412
413
  // alert(this.binary_type);
413
414
  this.settings = await this.$_getData('public_settings');
414
415
 
@@ -80,7 +80,6 @@ export default class AccountClass
80
80
  {
81
81
  await new NotificationClass().unregister();
82
82
  AUTH.signOut();
83
- try { await DB.clearPersistence(); } catch(e) {}
84
83
  }
85
84
  async confirmPassword(email, password)
86
85
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "geer-builder",
3
- "version": "1.2.908",
3
+ "version": "1.2.910",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {