File tree Expand file tree Collapse file tree 2 files changed +2
-5
lines changed
transactions/TransactionList Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -116,7 +116,7 @@ export const GroupMemberList: React.FC<GroupMemberListProps> = ({ group }) => {
116116 {
117117 selectFromResult : ( { data, ...rest } ) => ( {
118118 ...rest ,
119- data : data ? data . sort ( ( a , b ) => a . username . localeCompare ( b . username ) ) : undefined ,
119+ data : data ? [ ... data ] . sort ( ( a , b ) => a . username . localeCompare ( b . username ) ) : undefined ,
120120 } ) ,
121121 }
122122 ) ;
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ import {
1515 useSortedTransactions ,
1616} from "@abrechnung/redux" ;
1717import { Transaction } from "@abrechnung/types" ;
18- import { Add , Clear , SaveAlt } from "@mui/icons-material" ;
18+ import { Clear , SaveAlt } from "@mui/icons-material" ;
1919import SearchIcon from "@mui/icons-material/Search" ;
2020import {
2121 Alert ,
@@ -160,9 +160,6 @@ const TransactionListActions: React.FC<TransactionListActionsProps> = ({
160160 </ Tooltip >
161161 { isGroupWritable && (
162162 < >
163- < div style = { { padding : "8px" } } >
164- < Add color = "primary" />
165- </ div >
166163 < Tooltip title = { t ( "transactions.createPurchase" ) } >
167164 < IconButton color = "primary" onClick = { handleClickCreatePurchase } >
168165 < PurchaseIcon />
You can’t perform that action at this time.
0 commit comments