diff --git a/CHANGELOG.md b/CHANGELOG.md index 36c7cd821..8c7c1c93d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,7 @@ All notable changes to this project will be documented in this file. ### Added - Add ISO 27001 document header +- Add policy downlaod ### Changed diff --git a/apps/console/src/pages/organizations/policies/ShowPolicyView.tsx b/apps/console/src/pages/organizations/policies/ShowPolicyView.tsx index ade1ca54b..cd7b794f0 100644 --- a/apps/console/src/pages/organizations/policies/ShowPolicyView.tsx +++ b/apps/console/src/pages/organizations/policies/ShowPolicyView.tsx @@ -214,7 +214,7 @@ function ShowPolicyContent({ }); // Reload the query to refresh the data - loadQuery({ policyId: policy.id }); + loadQuery({ policyId: policy.id, organizationId: organizationId! }); }, onError: (error) => { toast({ @@ -242,7 +242,7 @@ function ShowPolicyContent({ setIsVersionHistoryOpen(false); // Reload the query to refresh the data if (policy.id) { - loadQuery({ policyId: policy.id }); + loadQuery({ policyId: policy.id, organizationId: organizationId! }); } }, [policy.id, loadQuery, toast],