diff --git a/src/libs/actions/IOU.js b/src/libs/actions/IOU.js index 28d68f68261b..ff0b412a7096 100644 --- a/src/libs/actions/IOU.js +++ b/src/libs/actions/IOU.js @@ -69,7 +69,14 @@ let allPolicyTags = {}; Onyx.connect({ key: ONYXKEYS.COLLECTION.POLICY_TAGS, waitForCollectionCallback: true, - callback: (value) => (allPolicyTags = value), + callback: (value) => { + if (!value) { + allPolicyTags = {}; + return; + } + + allPolicyTags = value; + }, }); let userAccountID = '';