ng-easycommerce 0.0.592 → 0.0.593

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/README.md CHANGED
@@ -1,3 +1,5 @@
1
+ # version 0.0.593
2
+ - Se obtienen los parametros en el bloque de newsletter.
1
3
  # version 0.0.592
2
4
  - Se crea nueva funcion toast service para que el mensaje se quede en pantalla hasta que se clicke.
3
5
  # version 0.0.590 - 591
@@ -6937,6 +6937,7 @@
6937
6937
  _this.codeBlock = 'newsletter_block';
6938
6938
  _this.blocks = [];
6939
6939
  _this.blockContact = null;
6940
+ _this.params = {};
6940
6941
  _this.form_data = {};
6941
6942
  _this.sendForm = function (form, success_message) {
6942
6943
  console.log('enviando...');
@@ -6998,6 +6999,7 @@
6998
6999
  };
6999
7000
  ContactFormNewsEcComponent.prototype.ngOnInit = function () {
7000
7001
  var _this = this;
7002
+ this.paramsService.parameters.subscribe(function (res) { return _this.params = res; });
7001
7003
  if (!this.block) {
7002
7004
  this.blocksService.getBlocks('home');
7003
7005
  this.blocksService.blocks.pipe(operators.filter(function (blocks) { return (blocks && blocks.length > 0); })).subscribe(function (blocks) {