mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-06 18:27:19 +00:00
fix: update not getting the tag in identity modal
This commit is contained in:
+3
-1
@@ -89,6 +89,7 @@ export const IdentityModal = ({ popUp, handlePopUpToggle }: Props) => {
|
|||||||
identityId: string;
|
identityId: string;
|
||||||
name: string;
|
name: string;
|
||||||
role: string;
|
role: string;
|
||||||
|
metadata?: { key: string; value: string }[];
|
||||||
customRole: {
|
customRole: {
|
||||||
name: string;
|
name: string;
|
||||||
slug: string;
|
slug: string;
|
||||||
@@ -100,7 +101,8 @@ export const IdentityModal = ({ popUp, handlePopUpToggle }: Props) => {
|
|||||||
if (identity) {
|
if (identity) {
|
||||||
reset({
|
reset({
|
||||||
name: identity.name,
|
name: identity.name,
|
||||||
role: identity?.customRole?.slug ?? identity.role
|
role: identity?.customRole?.slug ?? identity.role,
|
||||||
|
metadata: identity.metadata
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
reset({
|
reset({
|
||||||
|
|||||||
Reference in New Issue
Block a user