mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2025-11-08 11:25:14 +00:00
Access list modal polish
This commit is contained in:
@@ -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>) => {
|
||||
|
||||
Reference in New Issue
Block a user