Access list modal polish

This commit is contained in:
Jamie Curnow
2025-10-09 22:14:54 +10:00
parent 227e818040
commit 43599b4028
18 changed files with 376 additions and 73 deletions

View File

@@ -32,7 +32,7 @@ interface Props {
label?: string;
}
export function AccessField({ name = "accessListId", label = "access.title", id = "accessListId" }: Props) {
const { isLoading, isError, error, data } = useAccessLists();
const { isLoading, isError, error, data } = useAccessLists(["owner", "items", "clients"]);
const { setFieldValue } = useFormikContext();
const handleChange = (newValue: any, _actionMeta: ActionMeta<AccessOption>) => {