Merge pull request #3456 from Infisical/fix/secretVersionReferenceIssue

Fix SecretVersionV2 reference issue blocking users and identities deletion
This commit is contained in:
Scott Wilson
2025-04-21 10:20:54 -07:00
committed by GitHub
2 changed files with 34 additions and 1 deletions
@@ -252,8 +252,12 @@ export const SecretDetailSidebar = ({
switch (userType) {
case ActorType.PLATFORM:
return "System-generated";
case ActorType.IDENTITY:
return userName || "Deleted Identity";
case ActorType.USER:
return userName || "Deleted User";
default:
return userName;
return "Unknown";
}
};