@fluxhub/fluxhub-lib 21.0.7 → 21.0.9
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.
|
@@ -191,6 +191,11 @@ const FH_MONITORING_IGNORE_ERRORS = [
|
|
|
191
191
|
'Importing a module script failed',
|
|
192
192
|
// copia di un 5xx che la libreria ha gia' segnalato come "HTTP 5xx /endpoint CHIAVE"
|
|
193
193
|
/^Server returned code \d+ with body/,
|
|
194
|
+
// HttpErrorResponse non gestita: l'ErrorHandler di Sentry la trasforma in un messaggio di
|
|
195
|
+
// testo (non arriva come istanza a beforeSend). 0 = rete assente o richiesta interrotta,
|
|
196
|
+
// 401 = sessione scaduta: entrambi gia' gestiti dall'interceptor della libreria.
|
|
197
|
+
/Http failure response for .*: 0 /,
|
|
198
|
+
/Http failure response for .*: 401 /,
|
|
194
199
|
];
|
|
195
200
|
/** Scarta un evento gia' segnalato o non azionabile; raggruppa i backend non raggiungibili. */
|
|
196
201
|
function fhMonitoringBeforeSend(event, hint) {
|
|
@@ -2336,6 +2341,8 @@ class FHComboboxComponent {
|
|
|
2336
2341
|
translateValue(val) {
|
|
2337
2342
|
if (!val)
|
|
2338
2343
|
return '';
|
|
2344
|
+
// descrizione_valore puo' arrivare numerica dalla query: instant() vuole una stringa
|
|
2345
|
+
val = '' + val;
|
|
2339
2346
|
if (val == '')
|
|
2340
2347
|
return '';
|
|
2341
2348
|
if (!this.disableTranslation)
|
|
@@ -2718,6 +2725,8 @@ class FHAutoCompleteComponent {
|
|
|
2718
2725
|
translateValue(val) {
|
|
2719
2726
|
if ((val || '') == '')
|
|
2720
2727
|
return '';
|
|
2728
|
+
// descrizione_valore puo' arrivare numerica dalla query: instant() vuole una stringa
|
|
2729
|
+
val = '' + val;
|
|
2721
2730
|
if (!this.disableTranslation && this.only_from_list)
|
|
2722
2731
|
return this._tsr.instant(val);
|
|
2723
2732
|
else
|