@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.
@@ -6227,8 +6227,10 @@
6227
6227
  if (a.length > 0) {
6228
6228
  if (a[0].tipo == "0")
6229
6229
  _this.is_Supervisor = true;
6230
- if (a[0].tipo == "1")
6230
+ if (a[0].tipo == "1") {
6231
6231
  _this.is_Admin = true;
6232
+ _this.is_Supervisor = true;
6233
+ }
6232
6234
  if (a[0].tipo == "2")
6233
6235
  _this.is_PowerUser = true;
6234
6236
  }
@@ -6709,6 +6711,8 @@
6709
6711
  // console.log( params.filterModel[key]);
6710
6712
  /** @type {?} */
6711
6713
  var obj_filtro_test = params.filterModel[key];
6714
+ if (p.filter != '')
6715
+ p.filter += " and ";
6712
6716
  if (obj_filtro_test.operator == null) {
6713
6717
  if (p.filter == '')
6714
6718
  p.filter += _this.calcola_filtro(params.filterModel[key], '', key, false);
@@ -6716,8 +6720,6 @@
6716
6720
  p.filter += _this.calcola_filtro(params.filterModel[key], '', key, true);
6717
6721
  }
6718
6722
  else {
6719
- if (p.filter != '')
6720
- p.filter += " and ";
6721
6723
  p.filter += " (";
6722
6724
  p.filter += _this.calcola_filtro(params.filterModel[key].condition1, '', key, false);
6723
6725
  console.log('After chiamata1: ', p.filter);