diff --git a/src/libs/actions/Policy/Policy.ts b/src/libs/actions/Policy/Policy.ts index f45a2f067e13..2cad24efea7f 100644 --- a/src/libs/actions/Policy/Policy.ts +++ b/src/libs/actions/Policy/Policy.ts @@ -346,6 +346,7 @@ function deleteWorkspace(policyID: string, policyName: string) { oldPolicyName: allPolicies?.[`${ONYXKEYS.COLLECTION.POLICY}${policyID}`]?.name, policyName: '', }), + isPinned: false, }, }); @@ -417,6 +418,7 @@ function deleteWorkspace(policyID: string, policyName: string) { value: { oldPolicyName, policyName: report?.policyName, + isPinned: report?.isPinned, }, }); failureData.push({