@yesilyazilim/web.spa 1.0.85 → 1.0.86

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/index.js CHANGED
@@ -8484,10 +8484,9 @@ class $1b4e3c1abfa7ee85$var$ColumnCustomFilter {
8484
8484
  }
8485
8485
  }
8486
8486
  _addHtmlElementToDropdown() {
8487
- if (this._container) this._container.remove();
8488
8487
  const _htmlElement = this._columnFilterComponent.getHtmlElement();
8489
- this._container = new (0, $4eb86fb8e262138f$export$931cbfb6bfb85fc)(_htmlElement);
8490
- if (this._parentElement) this._parentElement.appendChild(this._container);
8488
+ if (this._container) this._container.content = _htmlElement;
8489
+ else this._container = new (0, $4eb86fb8e262138f$export$931cbfb6bfb85fc)(_htmlElement);
8491
8490
  }
8492
8491
  _setFilterElement(CustomFilter, CustomFilterParams) {
8493
8492
  switch(CustomFilter){
@@ -8513,6 +8512,7 @@ class $1b4e3c1abfa7ee85$var$ColumnCustomFilter {
8513
8512
  }
8514
8513
  setParentElement(parentElement) {
8515
8514
  this._parentElement = parentElement;
8515
+ this._parentElement.appendChild(this._container);
8516
8516
  }
8517
8517
  setIconElement(iconElement) {
8518
8518
  this._iconElement = iconElement;