diff --git a/src/helpers/damage-helper.js b/src/helpers/damage-helper.js index 1aa4f624..09b59e21 100644 --- a/src/helpers/damage-helper.js +++ b/src/helpers/damage-helper.js @@ -5,15 +5,10 @@ import { useMainStore } from '@/store'; export function getDamageString() { const mainStore = useMainStore(); - // If it's a repair it's always a windshield. const { isRepair } = mainStore.damage; - if (isRepair) { - return damageCustomLabels.WINDSHIELD; - } - const damageLocations = mainStore.damage.glassToReplace; - if (!damageLocations || !Array.isArray(damageLocations)) { + if (isRepair || !damageLocations || !Array.isArray(damageLocations)) { return ''; }