@wizishop/wizi-block 3.3.20 → 3.3.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.
@@ -9051,7 +9051,7 @@
9051
9051
  if (item.id === 'hide_block' && item.value && !this.isHiddenConfig.includes(this.selectedConfig.block.uuid)) {
9052
9052
  this.isHiddenConfig.push(this.selectedConfig.block.uuid);
9053
9053
  }
9054
- else if (item.id === 'hide_block' && !item.value && this.isHiddenConfig.includes(this.selectedConfig.block.uuid)) {
9054
+ else if (item.id === 'hide_block' && !item.value) {
9055
9055
  this.isHiddenConfig = this.isHiddenConfig.filter(function (e) { return e !== _this.selectedConfig.block.uuid; });
9056
9056
  }
9057
9057
  }
@@ -9646,6 +9646,9 @@
9646
9646
  if (item.id === 'hide_block' && typeof item.value !== typeof undefined) {
9647
9647
  this.dynamicHiddenStructure = true;
9648
9648
  }
9649
+ else {
9650
+ this.dynamicHiddenStructure = false;
9651
+ }
9649
9652
  }
9650
9653
  }
9651
9654
  catch (e_1_1) { e_1 = { error: e_1_1 }; }