Fix missing query variable
Signed-off-by: Bryan Frimin <bryan@getprobo.com>
This commit is contained in:
@@ -9,6 +9,7 @@ All notable changes to this project will be documented in this file.
|
|||||||
### Added
|
### Added
|
||||||
|
|
||||||
- Add ISO 27001 document header
|
- Add ISO 27001 document header
|
||||||
|
- Add policy downlaod
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
|
||||||
|
|||||||
@@ -214,7 +214,7 @@ function ShowPolicyContent({
|
|||||||
});
|
});
|
||||||
|
|
||||||
// Reload the query to refresh the data
|
// Reload the query to refresh the data
|
||||||
loadQuery({ policyId: policy.id });
|
loadQuery({ policyId: policy.id, organizationId: organizationId! });
|
||||||
},
|
},
|
||||||
onError: (error) => {
|
onError: (error) => {
|
||||||
toast({
|
toast({
|
||||||
@@ -242,7 +242,7 @@ function ShowPolicyContent({
|
|||||||
setIsVersionHistoryOpen(false);
|
setIsVersionHistoryOpen(false);
|
||||||
// Reload the query to refresh the data
|
// Reload the query to refresh the data
|
||||||
if (policy.id) {
|
if (policy.id) {
|
||||||
loadQuery({ policyId: policy.id });
|
loadQuery({ policyId: policy.id, organizationId: organizationId! });
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
[policy.id, loadQuery, toast],
|
[policy.id, loadQuery, toast],
|
||||||
|
|||||||
Reference in New Issue
Block a user