Skip to content

Commit 651cf80

Browse files
committed
Add dedicated Sentry label for search footer total currency
1 parent 6300858 commit 651cf80

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

src/CONST/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9345,6 +9345,7 @@ const CONST = {
93459345
FILTER_GROUP_BY: 'Search-FilterGroupBy',
93469346
FILTER_SORT_BY: 'Search-FilterSortBy',
93479347
FILTER_GROUP_CURRENCY: 'Search-FilterGroupCurrency',
9348+
FOOTER_TOTAL_CURRENCY: 'Search-FooterTotalCurrency',
93489349
FILTER_VIEW: 'Search-FilterView',
93499350
FILTER_LIMIT: 'Search-FilterLimit',
93509351
ADVANCED_FILTERS_BUTTON: 'Search-AdvancedFiltersButton',

src/components/Search/SearchPageFooter.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ function SearchPageFooter({count, total, currency, defaultCurrency, isTotalLoadi
8181
shouldShowRightIcon
8282
iconRight={icons.DownArrow}
8383
iconRightFill={theme.icon}
84-
sentryLabel={CONST.SENTRY_LABEL.SEARCH.FILTER_GROUP_CURRENCY}
84+
sentryLabel={CONST.SENTRY_LABEL.SEARCH.FOOTER_TOTAL_CURRENCY}
8585
onPress={props.onPress}
8686
/>
8787
),
@@ -109,7 +109,7 @@ function SearchPageFooter({count, total, currency, defaultCurrency, isTotalLoadi
109109
<Text style={styles.textLabelSupporting}>{`${translate('common.totalSpend')}:`}</Text>
110110
<DropdownButton
111111
label={translate('common.currency')}
112-
sentryLabel={CONST.SENTRY_LABEL.SEARCH.FILTER_GROUP_CURRENCY}
112+
sentryLabel={CONST.SENTRY_LABEL.SEARCH.FOOTER_TOTAL_CURRENCY}
113113
value={currency ?? null}
114114
PopoverComponent={renderCurrencyPopup}
115115
ButtonComponent={totalButton}

0 commit comments

Comments
 (0)