Skip to content

Commit

Permalink
Merge branch 'develop' into refactor/breadcrumbs
Browse files Browse the repository at this point in the history
  • Loading branch information
stephanoshadjipetrou committed Apr 10, 2023
2 parents 76eb99b + f5d1ed0 commit 656a67e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/app/components/Table/Simple/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,8 @@ function Row(props: {
align-items: center;
flex-direction: row;
justify-content: ${!Number.isNaN(parseInt(value)) &&
column.name.indexOf("(USD)") > -1
(column.name.indexOf("(USD)") > -1 ||
column.name === "Grants")
? "flex-end"
: "flex-start"};
`}
Expand Down Expand Up @@ -244,7 +245,8 @@ export function SimpleTable(props: SimpleTableProps) {
(_c, index) => visibleColumnsIndexes.indexOf(index) > -1
).map((column: SimpleTableColumn, index: number) => {
let icon = undefined;
const monetaryColumn = column.name.indexOf("(USD)") > -1;
const monetaryColumn =
column.name.indexOf("(USD)") > -1 || column.name === "Grants";
if (sortBySplits.length > 1 && sortBySplits[0] === column.key) {
if (sortBySplits[1] === "DESC") {
icon = <ArrowDownward />;
Expand Down

0 comments on commit 656a67e

Please sign in to comment.