CEC-5420 add wildcard ECU for triggering reading off all ECUs. (#483)

This commit is contained in:
Eduard Voronkin
2023-11-13 12:07:29 -08:00
committed by GitHub
parent 4e29f86876
commit 94ba59ea77

View File

@@ -128,7 +128,7 @@ const SendDiagnosticCommand = ({ vin, token, classes }) => {
<RemoteIgnitionCommand ignitionState={ignitionState} setIgnitionState={setIgnitionState} seconds={seconds} setSeconds={setSeconds} />
: currentCommand === "read_ecu_versions"
?
<AllECUsCommand classes={classes} ecus={ecus} currentECU={currentECU} setCurrentECU={setCurrentECU} />
<AllECUsCommand classes={classes} ecus={ecus.concat({ ecu: "*" })} currentECU={currentECU} setCurrentECU={setCurrentECU} />
: null
}