Skip to content
Snippets Groups Projects
Commit 09a39663 authored by meskio's avatar meskio :tent:
Browse files

Stile a bit the transation list

parent 4a35496f
Branches
Tags
No related merge requests found
......@@ -6,7 +6,8 @@ import Fetcher from './Fetcher';
import { printMoney, printDate } from './util';
const columns = [
{dataField: 'type', text: '', formatter: cell => {
{dataField: 'type', text: '', align: 'center',
formatter: cell => {
switch (cell) {
case "purchase":
return <FaShoppingBasket />;
......@@ -35,6 +36,8 @@ function TransactionList() {
rowEvents={{
onClick: (_, row) => setClicID(row.ID)
}}
classes="stripped"
bordered={ false }
/>
</Fetcher>
);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment