web: Improve CSV validation

This commit is contained in:
2025-06-24 11:06:26 -05:00
parent 1b37af82e3
commit 5bfc3ffa55
4 changed files with 90 additions and 3 deletions

View File

@@ -97,6 +97,10 @@ const ProfiledUnitsComponent = (props: ProfiledUnitsProps) => {
props.onError(err.message);
return;
}
for (const gen in newGenerators) {
newGenerators[gen]["Type"] = "Profiled";
}
const newScenario = {
...props.scenario,
Generators: newGenerators,