Skip to content

Commit

Permalink
Merge pull request Expensify#43140 from Expensify/cmartins-fixButtonW…
Browse files Browse the repository at this point in the history
…idthDisableTaxSorting

Fix action button width, disable sorting by Taxes
  • Loading branch information
srikarparsi authored Jun 6, 2024
2 parents 928f0d3 + 6bc0497 commit 1777d7e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/SelectionList/Search/ReportListItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ function ActionCell({onButtonPress}: ActionCellProps) {
onPress={onButtonPress}
small
pressOnEnter
style={[styles.p0]}
style={[styles.w100]}
/>
);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ function ActionCell({onButtonPress}: ActionCellProps) {
onPress={onButtonPress}
small
pressOnEnter
style={[styles.p0]}
style={[styles.w100]}
/>
);
}
Expand Down
1 change: 1 addition & 0 deletions src/components/SelectionList/SearchTableHeader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ const SearchColumns: SearchColumnConfig[] = [
columnName: CONST.SEARCH_TABLE_COLUMNS.TAX_AMOUNT,
translationKey: 'common.tax',
shouldShow: (data: OnyxTypes.SearchResults['data']) => SearchUtils.getShouldShowColumn(data, CONST.SEARCH_TABLE_COLUMNS.TAX_AMOUNT),
isColumnSortable: false,
},
{
columnName: CONST.SEARCH_TABLE_COLUMNS.TOTAL_AMOUNT,
Expand Down

0 comments on commit 1777d7e

Please sign in to comment.