Skip to content

Commit

Permalink
fix: Missing checkmark when reselecting date of month in Submission f…
Browse files Browse the repository at this point in the history
…requency modal.

Signed-off-by: krishna2323 <belivethatkg@gmail.com>
  • Loading branch information
Krishna2323 committed Aug 16, 2024
1 parent c7d4c5f commit bb7b27f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libs/actions/Policy/Policy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -450,7 +450,7 @@ function setWorkspaceAutoReportingFrequency(policyID: string, frequency: ValueOf
}

function setWorkspaceAutoReportingMonthlyOffset(policyID: string, autoReportingOffset: number | ValueOf<typeof CONST.POLICY.AUTO_REPORTING_OFFSET>) {
const value = JSON.stringify({autoReportingOffset: autoReportingOffset.toString()});
const value = JSON.stringify({autoReportingOffset});
const policy = getPolicy(policyID);

const optimisticData: OnyxUpdate[] = [
Expand Down

0 comments on commit bb7b27f

Please sign in to comment.