Added vehicle alert changes and group verification. RPS-74

This commit is contained in:
Patrick Fic
2021-02-17 15:40:10 -08:00
parent ddbeb39fe9
commit 7ce7fbd79d
5 changed files with 54 additions and 12 deletions

View File

@@ -30,7 +30,8 @@ const models = [
];
export default function VehicleGroupAlertAtom({ job, showGroup = false }) {
const shouldWarn = models.includes(job.v_model.toLowerCase());
const shouldWarn =
models.includes(job.v_model.toLowerCase()) && !job.group_verified;
const vehicleText = `${job.v_model_yr} ${job.v_makedesc} ${job.v_model} (${
job.v_type