@fluxhub/fluxhub-lib 1.0.398 → 1.0.400

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.
@@ -6205,8 +6205,10 @@ wkfapp = /** @class */ (function () {
6205
6205
  if (a.length > 0) {
6206
6206
  if (a[0].tipo == "0")
6207
6207
  _this.is_Supervisor = true;
6208
- if (a[0].tipo == "1")
6208
+ if (a[0].tipo == "1") {
6209
6209
  _this.is_Admin = true;
6210
+ _this.is_Supervisor = true;
6211
+ }
6210
6212
  if (a[0].tipo == "2")
6211
6213
  _this.is_PowerUser = true;
6212
6214
  }
@@ -6687,6 +6689,8 @@ var FHGridComponent = /** @class */ (function () {
6687
6689
  // console.log( params.filterModel[key]);
6688
6690
  /** @type {?} */
6689
6691
  var obj_filtro_test = params.filterModel[key];
6692
+ if (p.filter != '')
6693
+ p.filter += " and ";
6690
6694
  if (obj_filtro_test.operator == null) {
6691
6695
  if (p.filter == '')
6692
6696
  p.filter += _this.calcola_filtro(params.filterModel[key], '', key, false);
@@ -6694,8 +6698,6 @@ var FHGridComponent = /** @class */ (function () {
6694
6698
  p.filter += _this.calcola_filtro(params.filterModel[key], '', key, true);
6695
6699
  }
6696
6700
  else {
6697
- if (p.filter != '')
6698
- p.filter += " and ";
6699
6701
  p.filter += " (";
6700
6702
  p.filter += _this.calcola_filtro(params.filterModel[key].condition1, '', key, false);
6701
6703
  console.log('After chiamata1: ', p.filter);