Skip to content

Commit

Permalink
Update src/libs/actions/Policy.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Carlos Martins <luacmartins@gmail.com>
  • Loading branch information
DylanDylann and luacmartins authored Mar 14, 2024
1 parent 750ca3f commit 1fa0d91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libs/actions/Policy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -459,7 +459,7 @@ function setWorkspaceAutoReporting(policyID: string, enabled: boolean, frequency
value: {
autoReporting: policy.autoReporting ?? null,
harvesting: {
enabled: policy?.harvesting?.enabled ?? null,
enabled: policy.harvesting?.enabled ?? null,
},
autoReportingFrequency: policy.autoReportingFrequency ?? null,
pendingFields: {isAutoApprovalEnabled: null, harvesting: null},
Expand Down

0 comments on commit 1fa0d91

Please sign in to comment.