From 3ecd7f9378a6a8c2ced4a172a9a9e330b6e994e8 Mon Sep 17 00:00:00 2001 From: Fitsum Abebe Date: Wed, 13 Dec 2023 18:28:35 +0300 Subject: [PATCH] reset workspace avatar in optimistic data --- src/libs/actions/Policy.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/libs/actions/Policy.js b/src/libs/actions/Policy.js index 04f62ab0c393..6ad39dab041a 100644 --- a/src/libs/actions/Policy.js +++ b/src/libs/actions/Policy.js @@ -171,6 +171,7 @@ function deleteWorkspace(policyID, reports, policyName) { onyxMethod: Onyx.METHOD.MERGE, key: `${ONYXKEYS.COLLECTION.POLICY}${policyID}`, value: { + avatar: '', pendingAction: CONST.RED_BRICK_ROAD_PENDING_ACTION.DELETE, errors: null, },