From bb7b27fff9fc5118eefcb9bd03f0e1156b8a8e0f Mon Sep 17 00:00:00 2001 From: krishna2323 Date: Sat, 17 Aug 2024 03:08:08 +0530 Subject: [PATCH] fix: Missing checkmark when reselecting date of month in Submission frequency modal. Signed-off-by: krishna2323 --- src/libs/actions/Policy/Policy.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libs/actions/Policy/Policy.ts b/src/libs/actions/Policy/Policy.ts index d914e47e5204..75e754eb8248 100644 --- a/src/libs/actions/Policy/Policy.ts +++ b/src/libs/actions/Policy/Policy.ts @@ -450,7 +450,7 @@ function setWorkspaceAutoReportingFrequency(policyID: string, frequency: ValueOf } function setWorkspaceAutoReportingMonthlyOffset(policyID: string, autoReportingOffset: number | ValueOf) { - const value = JSON.stringify({autoReportingOffset: autoReportingOffset.toString()}); + const value = JSON.stringify({autoReportingOffset}); const policy = getPolicy(policyID); const optimisticData: OnyxUpdate[] = [