diff --git a/src/ONYXKEYS.ts b/src/ONYXKEYS.ts index 7d3d0edef36e..2d2a346989c3 100755 --- a/src/ONYXKEYS.ts +++ b/src/ONYXKEYS.ts @@ -452,6 +452,9 @@ const ONYXKEYS = { /** Company cards custom names */ NVP_EXPENSIFY_COMPANY_CARDS_CUSTOM_NAMES: 'nvp_expensify_ccCustomNames', + /** The user's Concierge reportID */ + CONCIERGE_REPORT_ID: 'conciergeReportID', + /** Collection Keys */ COLLECTION: { DOWNLOAD: 'download_', @@ -1021,6 +1024,7 @@ type OnyxValuesMapping = { [ONYXKEYS.IS_USING_IMPORTED_STATE]: boolean; [ONYXKEYS.SHOULD_SHOW_SAVED_SEARCH_RENAME_TOOLTIP]: boolean; [ONYXKEYS.NVP_EXPENSIFY_COMPANY_CARDS_CUSTOM_NAMES]: Record; + [ONYXKEYS.CONCIERGE_REPORT_ID]: string; }; type OnyxValues = OnyxValuesMapping & OnyxCollectionValuesMapping & OnyxFormValuesMapping & OnyxFormDraftValuesMapping; diff --git a/src/libs/actions/Report.ts b/src/libs/actions/Report.ts index d4c42697d70d..ac8c35c3fc4e 100644 --- a/src/libs/actions/Report.ts +++ b/src/libs/actions/Report.ts @@ -179,6 +179,11 @@ Onyx.connect({ }, }); +Onyx.connect({ + key: ONYXKEYS.CONCIERGE_REPORT_ID, + callback: (value) => (conciergeChatReportID = value), +}); + let preferredSkinTone: number = CONST.EMOJI_DEFAULT_SKIN_TONE; Onyx.connect({ key: ONYXKEYS.PREFERRED_EMOJI_SKIN_TONE,