@vectoriox/iox-builder 1.4.90 → 1.4.91

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.
@@ -5657,16 +5657,13 @@ class SliderContainerComponent {
5657
5657
  config['scrollbar'] = { el: '.swiper-scrollbar', draggable: false };
5658
5658
  }
5659
5659
  this._swiper = new Swiper(el, config);
5660
- if (this.isPreview) {
5661
- this.instanceRegistry.register(this.nodeId, this._swiper);
5662
- }
5660
+ this.instanceRegistry.register(this.nodeId, this._swiper);
5663
5661
  }
5664
5662
  _destroySwiper() {
5665
5663
  if (this._swiper) {
5666
5664
  this._swiper.destroy(true, true);
5667
5665
  this._swiper = null;
5668
- if (this.isPreview)
5669
- this.instanceRegistry.unregister(this.nodeId);
5666
+ this.instanceRegistry.unregister(this.nodeId);
5670
5667
  }
5671
5668
  }
5672
5669
  _onSwiperEvent(eventName, swiper) {