added some minor functionality to the field page so clicking a harvest plan from the table updated the overview with it, also fixed a bug that came up regarding that with the settings using the plan permissions when they should be using the permissions passed in

This commit is contained in:
csawatzky 2026-02-12 14:55:43 -06:00
parent 9966e90f7a
commit f6e53aff1c
6 changed files with 23 additions and 27 deletions

View file

@ -227,7 +227,7 @@ export default function FieldPage() {
</Grid2>
<Grid2 size={8}>
<Card raised>
<HarvestPlanTable field={field}/>
<HarvestPlanTable field={field} planSelected={(plan) => {setHPlan(plan)}}/>
</Card>
</Grid2>
</Grid2>
@ -276,7 +276,7 @@ export default function FieldPage() {
</Card>
</Grid2>
<Grid2>
<HarvestPlanTable field={field}/>
<HarvestPlanTable field={field} planSelected={(plan) => {setHPlan(plan)}}/>
</Grid2>
</Grid2>
</TabPanel>