Skip to content

Commit 19065e5

Browse files
committed
fix lint
1 parent 0dbfbcb commit 19065e5

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/libs/SearchUIUtils.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ function getSuggestedSearches(defaultFeedID: string | undefined, accountID: numb
267267
translationPath: 'common.submit',
268268
type: CONST.SEARCH.DATA_TYPES.EXPENSE,
269269
icon: Expensicons.Pencil,
270-
searchQuery: getTodoSearchQuery('submit', currentAccountID),
270+
searchQuery: getTodoSearchQuery('submit', accountID),
271271
get hash() {
272272
return buildSearchQueryJSON(this.searchQuery)?.hash ?? CONST.DEFAULT_NUMBER_ID;
273273
},
@@ -277,7 +277,7 @@ function getSuggestedSearches(defaultFeedID: string | undefined, accountID: numb
277277
translationPath: 'search.bulkActions.approve',
278278
type: CONST.SEARCH.DATA_TYPES.EXPENSE,
279279
icon: Expensicons.ThumbsUp,
280-
searchQuery: getTodoSearchQuery('approve', currentAccountID),
280+
searchQuery: getTodoSearchQuery('approve', accountID),
281281
get hash() {
282282
return buildSearchQueryJSON(this.searchQuery)?.hash ?? CONST.DEFAULT_NUMBER_ID;
283283
},
@@ -287,7 +287,7 @@ function getSuggestedSearches(defaultFeedID: string | undefined, accountID: numb
287287
translationPath: 'search.bulkActions.pay',
288288
type: CONST.SEARCH.DATA_TYPES.EXPENSE,
289289
icon: Expensicons.MoneyBag,
290-
searchQuery: getTodoSearchQuery('pay', currentAccountID),
290+
searchQuery: getTodoSearchQuery('pay', accountID),
291291
get hash() {
292292
return buildSearchQueryJSON(this.searchQuery)?.hash ?? CONST.DEFAULT_NUMBER_ID;
293293
},
@@ -297,7 +297,7 @@ function getSuggestedSearches(defaultFeedID: string | undefined, accountID: numb
297297
translationPath: 'common.export',
298298
type: CONST.SEARCH.DATA_TYPES.EXPENSE,
299299
icon: Expensicons.CheckCircle,
300-
searchQuery: getTodoSearchQuery('export', currentAccountID),
300+
searchQuery: getTodoSearchQuery('export', accountID),
301301
get hash() {
302302
return buildSearchQueryJSON(this.searchQuery)?.hash ?? CONST.DEFAULT_NUMBER_ID;
303303
},

0 commit comments

Comments
 (0)