diff --git a/wherehows-web/app/components/visualization/charts/score-gauge.ts b/wherehows-web/app/components/visualization/charts/score-gauge.ts index e49cfdea00..f7ccf4744d 100644 --- a/wherehows-web/app/components/visualization/charts/score-gauge.ts +++ b/wherehows-web/app/components/visualization/charts/score-gauge.ts @@ -149,7 +149,7 @@ export default class VisualizationChartsScoreGauge extends Component { constructor() { super(...arguments); // Prevents "modify twice in single render" issue - this.score = this.score || 0; + this.score = typeof this.score === 'number' ? this.score : 0; setProperties(this, { maxScore: typeof this.maxScore === 'number' ? this.maxScore : 100,