diff --git a/src/CONST.ts b/src/CONST.ts index 06a05bd45f4f..8698c59f8b84 100755 --- a/src/CONST.ts +++ b/src/CONST.ts @@ -5517,6 +5517,7 @@ const CONST = { SENT: 'sent', ATTACHMENTS: 'attachments', LINKS: 'links', + PINNED: 'pinned', }, }, TABLE_COLUMNS: { diff --git a/src/components/Search/SearchStatusBar.tsx b/src/components/Search/SearchStatusBar.tsx index ccc35feb7ced..ea19ef5f4e99 100644 --- a/src/components/Search/SearchStatusBar.tsx +++ b/src/components/Search/SearchStatusBar.tsx @@ -129,6 +129,12 @@ const chatOptions: Array<{key: ChatSearchStatus; icon: IconAsset; text: Translat text: 'common.links', query: SearchUtils.buildCannedSearchQuery(CONST.SEARCH.DATA_TYPES.CHAT, CONST.SEARCH.STATUS.CHAT.LINKS), }, + { + key: CONST.SEARCH.STATUS.CHAT.PINNED, + icon: Expensicons.Pin, + text: 'search.filters.pinned', + query: SearchUtils.buildCannedSearchQuery(CONST.SEARCH.DATA_TYPES.CHAT, CONST.SEARCH.STATUS.CHAT.PINNED), + }, ]; function getOptions(type: SearchDataTypes) {