ps-toolkit-ui 0.0.144 → 0.0.148

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.
@@ -2080,15 +2080,14 @@
2080
2080
  };
2081
2081
  }
2082
2082
  SidebarItemComponent.prototype.openClose = function (e) {
2083
- var op = $__namespace(e.target).closest('.user-sidebar-item');
2084
- if (op.hasClass('open')) {
2085
- op.removeClass('open');
2086
- op.find(' > .children').slideUp();
2087
- }
2088
- else {
2089
- op.addClass('open');
2090
- op.find(' > .children').slideDown();
2091
- }
2083
+ // const op = $(e.target).closest('.user-sidebar-item');
2084
+ // if (op.hasClass('open')){
2085
+ // op.removeClass('open');
2086
+ // op.find(' > .children').slideUp();
2087
+ // }else{
2088
+ // op.addClass('open');
2089
+ // op.find(' > .children').slideDown();
2090
+ // }
2092
2091
  };
2093
2092
  SidebarItemComponent.prototype.isActive = function (item) {
2094
2093
  var e_1, _a;
@@ -7318,7 +7317,7 @@
7318
7317
  }
7319
7318
  else {
7320
7319
  if (!this.modal) {
7321
- this.modal = new ModalClass(this.environment, this.l, this.name);
7320
+ this.modal = new ModalClass(this.environment, this.l, this.form.name);
7322
7321
  }
7323
7322
  this.modal.form = this.form;
7324
7323
  }