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

@ -161,6 +161,7 @@ export default function HarvestPlanActions(props: Props) {
update={updatePlan}
open={openState.settings}
plan={plan.key() !== "" ? plan : undefined}
permissions={permissions}
close={(refresh, updatedPlan) => {
setOpenState({ ...openState, settings: false });
if (refresh) {