diff --git a/Thermo.Active/wwwroot/src/app_modules_thermo/dashboard/dashboard.vue b/Thermo.Active/wwwroot/src/app_modules_thermo/dashboard/dashboard.vue index 61b12591..47e9e4e3 100644 --- a/Thermo.Active/wwwroot/src/app_modules_thermo/dashboard/dashboard.vue +++ b/Thermo.Active/wwwroot/src/app_modules_thermo/dashboard/dashboard.vue @@ -95,7 +95,7 @@
{{'dashboard-timing-elapsed' | localize('tempo trascorso')}} - +
{{'dashboard-timing-end' | localize('fine')}} diff --git a/Thermo.Active/wwwroot/src/services/hub.ts b/Thermo.Active/wwwroot/src/services/hub.ts index 2e7535f9..e7ec2536 100644 --- a/Thermo.Active/wwwroot/src/services/hub.ts +++ b/Thermo.Active/wwwroot/src/services/hub.ts @@ -76,10 +76,15 @@ export class Hub { console.log('SignalrAdapter: ' + error, exc); }; - if (!PRODUCTION) { - try { $.connection.hub.logging = true; } catch { } - try { $.connection.ncHub.logging = true; } catch { } - } + try { $.connection.hub.logging = true; } catch { } + try { $.connection.ncHub.logging = true; } catch { } + + try { + if (PRODUCTION) { + try { $.connection.hub.logging = false; } catch { } + try { $.connection.ncHub.logging = false; } catch { } + } + } catch { } // Registro le callback; this._hub.client.alarms = this.manageAlarmsCallbacks;