final adjustments to the field task list and the field drawer and field page using the tasks with the permissions in the correct way

This commit is contained in:
csawatzky 2026-03-31 13:37:49 -06:00
parent 8633c197ab
commit 186604dccf
11 changed files with 97 additions and 177 deletions

View file

@ -224,6 +224,7 @@ export default function TaskActions(props: Props) {
return (
<React.Fragment>
<IconButton
disabled={!permissions.includes(pond.Permission.PERMISSION_WRITE)}
aria-owns={anchorEl ? "groupMenu" : undefined}
aria-haspopup="true"
onClick={(event: React.MouseEvent<HTMLButtonElement>) => setAnchorEl(event.currentTarget)}>