@salla.sa/twilight-components 2.11.121 → 2.11.122

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.
@@ -21309,7 +21309,9 @@ const SallaMap = class {
21309
21309
  this.locateButtonEdit = salla.lang.get('common.elements.edit');
21310
21310
  this.searchPlaceholder = salla.lang.get('pages.checkout.search_for_address');
21311
21311
  });
21312
- this.apiKey = 'AIzaSyBPhPJ4KG13ywvmeAovLRnbi7WzlsdcWKs';
21312
+ salla.onReady(() => {
21313
+ this.apiKey = salla.config.get('store.settings.keys.maps', 'AIzaSyBFgFISAizDP3YVWj0y5rF8JKKNQ2vohdc');
21314
+ });
21313
21315
  }
21314
21316
  formatAddress(address) {
21315
21317
  return address.length > 25 ? address.substring(0, 25) + '...' : address;