Skip to content

Commit

Permalink
Set field names to match API spec. Fixes: #362
Browse files Browse the repository at this point in the history
  • Loading branch information
Philippluca committed Jan 17, 2025
1 parent 7197976 commit aeeaa01
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 3 deletions.
22 changes: 22 additions & 0 deletions Geopilot.slnLaunch
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
[
{
"Name": "Local-Development",
"Projects": [
{
"Path": "src\\Geopilot.Frontend\\Geopilot.Frontend.esproj",
"Action": "Start",
"DebugTarget": "localhost (Edge)"
},
{
"Path": "src\\Geopilot.Api\\Geopilot.Api.csproj",
"Action": "Start",
"DebugTarget": "https"
},
{
"Path": "docker-compose.dcproj",
"Action": "Start",
"DebugTarget": "Docker Compose"
}
]
}
]
6 changes: 3 additions & 3 deletions src/Geopilot.Frontend/src/pages/admin/mandateDetail.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ export const MandateDetail = () => {
</Typography>
<FormContainer>
<FormSelect
fieldName={"precursor"}
fieldName={"evaluatePrecursorDelivery"}
label={"precursor"}
required={true}
selected={mandate?.evaluatePrecursorDelivery ? [mandate.evaluatePrecursorDelivery] : []}
Expand All @@ -234,7 +234,7 @@ export const MandateDetail = () => {
]}
/>
<FormSelect
fieldName={"partialDelivery"}
fieldName={"evaluatePartial"}
label={"partialDelivery"}
required={true}
selected={mandate?.evaluatePartial ? [mandate.evaluatePartial] : []}
Expand All @@ -246,7 +246,7 @@ export const MandateDetail = () => {
</FormContainer>
<FormContainerHalfWidth>
<FormSelect
fieldName={"comment"}
fieldName={"evaluateComment"}
label={"comment"}
required={true}
selected={mandate?.evaluateComment ? [mandate.evaluateComment] : []}
Expand Down

0 comments on commit aeeaa01

Please sign in to comment.