Skip to content

Commit

Permalink
Fix GenericIndicator not displaying 0 values
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaellehmkuhl committed Sep 8, 2023
1 parent ce059af commit 23d8552
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/mini-widgets/GenericIndicator.vue
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ const store = useMainVehicleStore()
const currentState = ref<unknown>(0)
const parsedState = computed(() => {
if (currentState.value) {
if (currentState.value !== undefined) {
return round(Number(options.variableMultiplier) * Number(currentState.value)).toString()
}
return '--'
Expand Down

0 comments on commit 23d8552

Please sign in to comment.