feat(infisical-pg): fixed plan going undefined and resolved project missing on env delete

This commit is contained in:
Akhil Mohan
2024-01-27 12:38:23 +05:30
parent 5fe8bdc00b
commit 92f7b45e01
7 changed files with 14 additions and 9 deletions
+1 -1
View File
@@ -70,7 +70,7 @@ export const fetchUserAction = async (action: string) => {
action
}
});
return data.userAction;
return data.userAction || "";
};
export const useRenameUser = () => {
@@ -294,7 +294,7 @@ export const SecretDetailSidebar = ({
a={ProjectPermissionSub.Tags}
>
{(isAllowed) => (
<DropdownMenuItem>
<DropdownMenuItem asChild>
<Button
size="xs"
className="w-full"