updated poten&nbs, both work properly again

This commit is contained in:
Riepma
2021-04-12 17:01:17 +02:00
parent c7ab62c911
commit 89d2af5944
17 changed files with 220 additions and 544 deletions

View File

@@ -132,11 +132,11 @@ namespace FarmmapsHaulmkilling
}
var selectedAgent = agents[0];
var selectedOption = selectedAgent.SupportedOptions[0];
var selectedOption = selectedAgent.ValidOptions[0];
_logger.LogInformation("Calculating application map");
var applianceMapItem = await _haulmkillingService.CalculateApplicationMapAsync(cropfieldItem,
firstSatelliteItem, inputType, selectedAgent.Name, selectedOption);
firstSatelliteItem, inputType, selectedOption, selectedAgent);
if (applianceMapItem == null)
{
return;