Access list modal polish

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

No files matched your search

+1 -1
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>) => {