@fluxhub/fluxhub-lib 10.0.710 → 10.0.712
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/bundles/fluxhub-fluxhub-lib.umd.js +17 -14
- package/bundles/fluxhub-fluxhub-lib.umd.js.map +1 -1
- package/bundles/fluxhub-fluxhub-lib.umd.min.js +1 -1
- package/bundles/fluxhub-fluxhub-lib.umd.min.js.map +1 -1
- package/esm2015/lib/controls/win_user_picker.js +18 -15
- package/fesm2015/fluxhub-fluxhub-lib.js +17 -14
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/package.json +1 -1
|
@@ -8637,7 +8637,9 @@
|
|
|
8637
8637
|
this.user_sel = [];
|
|
8638
8638
|
};
|
|
8639
8639
|
fh_win_user_picker.prototype.filtra = function () {
|
|
8640
|
-
|
|
8640
|
+
if (this.fltr_user == null)
|
|
8641
|
+
this.fltr_user = '';
|
|
8642
|
+
console.log('filtra() ' + this.fltr_user.toUpperCase());
|
|
8641
8643
|
this.users_list_sel = new Array();
|
|
8642
8644
|
for (var i = 0; i < this.users_list.length; i++)
|
|
8643
8645
|
if (this.users_list[i].nc != null) {
|
|
@@ -8652,20 +8654,20 @@
|
|
|
8652
8654
|
(this.users_list[i].nc
|
|
8653
8655
|
.toUpperCase()
|
|
8654
8656
|
.indexOf(this.fltr_user.toUpperCase()) != -1 ||
|
|
8655
|
-
this.fltr_user ==
|
|
8656
|
-
if (this.user_sel == null)
|
|
8657
|
+
this.fltr_user == '')) {
|
|
8658
|
+
/* if (this.user_sel == null)
|
|
8659
|
+
this.users_list_sel.push(this.users_list[i]);
|
|
8660
|
+
else {*/
|
|
8661
|
+
var b_found = false;
|
|
8662
|
+
for (var y = 0; y < this.user_sel.length; y++)
|
|
8663
|
+
if (this.user_sel[y].username == this.users_list[i].username &&
|
|
8664
|
+
this.user_sel[y].canale == this.users_list[i].canale) {
|
|
8665
|
+
b_found = true;
|
|
8666
|
+
break;
|
|
8667
|
+
}
|
|
8668
|
+
if (!b_found)
|
|
8657
8669
|
this.users_list_sel.push(this.users_list[i]);
|
|
8658
|
-
|
|
8659
|
-
var b_found = false;
|
|
8660
|
-
for (var y = 0; y < this.user_sel.length; y++)
|
|
8661
|
-
if (this.user_sel[y].username == this.users_list[i].username &&
|
|
8662
|
-
this.user_sel[y].canale == this.users_list[i].canale) {
|
|
8663
|
-
b_found = true;
|
|
8664
|
-
break;
|
|
8665
|
-
}
|
|
8666
|
-
if (!b_found)
|
|
8667
|
-
this.users_list_sel.push(this.users_list[i]);
|
|
8668
|
-
}
|
|
8670
|
+
// }
|
|
8669
8671
|
}
|
|
8670
8672
|
}
|
|
8671
8673
|
};
|
|
@@ -8723,6 +8725,7 @@
|
|
|
8723
8725
|
if (index > -1) {
|
|
8724
8726
|
this.users_list.splice(index, 1);
|
|
8725
8727
|
}
|
|
8728
|
+
console.log('this.users_list 1 ', this.users_list);
|
|
8726
8729
|
if (this.single_sel)
|
|
8727
8730
|
this.user_sel = new Array();
|
|
8728
8731
|
if (this.user_sel == null)
|