@fluxhub/fluxhub-lib 19.0.251 → 19.0.253
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.
|
@@ -196,6 +196,11 @@ const FH_MONITORING_IGNORE_ERRORS = [
|
|
|
196
196
|
'Importing a module script failed',
|
|
197
197
|
// copia di un 5xx che la libreria ha gia' segnalato come "HTTP 5xx /endpoint CHIAVE"
|
|
198
198
|
/^Server returned code \d+ with body/,
|
|
199
|
+
// HttpErrorResponse non gestita: l'ErrorHandler di Sentry la trasforma in un messaggio di
|
|
200
|
+
// testo (non arriva come istanza a beforeSend). 0 = rete assente o richiesta interrotta,
|
|
201
|
+
// 401 = sessione scaduta: entrambi gia' gestiti dall'interceptor della libreria.
|
|
202
|
+
/Http failure response for .*: 0 /,
|
|
203
|
+
/Http failure response for .*: 401 /,
|
|
199
204
|
];
|
|
200
205
|
/** Scarta un evento gia' segnalato o non azionabile; raggruppa i backend non raggiungibili. */
|
|
201
206
|
function fhMonitoringBeforeSend(event, hint) {
|
|
@@ -2377,6 +2382,8 @@ class FHComboboxComponent {
|
|
|
2377
2382
|
translateValue(val) {
|
|
2378
2383
|
if (!val)
|
|
2379
2384
|
return '';
|
|
2385
|
+
// descrizione_valore puo' arrivare numerica dalla query: instant() vuole una stringa
|
|
2386
|
+
val = '' + val;
|
|
2380
2387
|
if (val == '')
|
|
2381
2388
|
return '';
|
|
2382
2389
|
if (!this.disableTranslation)
|
|
@@ -2759,6 +2766,8 @@ class FHAutoCompleteComponent {
|
|
|
2759
2766
|
translateValue(val) {
|
|
2760
2767
|
if ((val || '') == '')
|
|
2761
2768
|
return '';
|
|
2769
|
+
// descrizione_valore puo' arrivare numerica dalla query: instant() vuole una stringa
|
|
2770
|
+
val = '' + val;
|
|
2762
2771
|
if (!this.disableTranslation && this.only_from_list)
|
|
2763
2772
|
return this._tsr.instant(val);
|
|
2764
2773
|
else
|