mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-07 22:27:48 +00:00
misc: addressed greptile
This commit is contained in:
+2
-2
@@ -196,7 +196,7 @@ export const KubernetesInputForm = ({
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
const { fields, append, remove } = useFieldArray({
|
const { fields, append, remove, replace } = useFieldArray({
|
||||||
control,
|
control,
|
||||||
name: "provider.audiences"
|
name: "provider.audiences"
|
||||||
});
|
});
|
||||||
@@ -263,7 +263,7 @@ export const KubernetesInputForm = ({
|
|||||||
|
|
||||||
// Set audiences if available
|
// Set audiences if available
|
||||||
if (role.token_default_audiences && role.token_default_audiences.length > 0) {
|
if (role.token_default_audiences && role.token_default_audiences.length > 0) {
|
||||||
setValue("provider.audiences", role.token_default_audiences);
|
replace(role.token_default_audiences);
|
||||||
}
|
}
|
||||||
|
|
||||||
createNotification({
|
createNotification({
|
||||||
|
|||||||
Reference in New Issue
Block a user