diff --git a/Thermo.Active/wwwroot/src/app_modules_thermo/components/arch-interface/gauge.ts b/Thermo.Active/wwwroot/src/app_modules_thermo/components/arch-interface/gauge.ts index 7f98fe4e..83339a00 100644 --- a/Thermo.Active/wwwroot/src/app_modules_thermo/components/arch-interface/gauge.ts +++ b/Thermo.Active/wwwroot/src/app_modules_thermo/components/arch-interface/gauge.ts @@ -35,12 +35,14 @@ export default class gauge extends Vue { var largeArcFlag = endAngle - startAngle <= 180 ? "0" : "1"; - var d = [ - "M", start.x, start.y, - "A", radius, radius, 0, largeArcFlag, 0, end.x, end.y - ].join(" "); + var d = []; + if (Number.isFinite(start.x) && Number.isFinite(end.y)) + d = [ + "M", start.x, start.y, + "A", radius, radius, 0, largeArcFlag, 0, end.x, end.y + ]; - return d; + return d.join(" "); } get actualValue() { diff --git a/Thermo.Active/wwwroot/src/app_modules_thermo/components/paddle/paddle.vue b/Thermo.Active/wwwroot/src/app_modules_thermo/components/paddle/paddle.vue index 93739101..67dbd69c 100644 --- a/Thermo.Active/wwwroot/src/app_modules_thermo/components/paddle/paddle.vue +++ b/Thermo.Active/wwwroot/src/app_modules_thermo/components/paddle/paddle.vue @@ -14,7 +14,7 @@