Skip to content

Commit 861d40a

Browse files
chore: Adds active label
1 parent 88a7eee commit 861d40a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/CustomerList.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import React from 'react';
2-
import { List, Filter, Datagrid, TextField, TextInput, SearchInput, NumberInput } from 'react-admin';
2+
import { List, Filter, Datagrid, TextField, SearchInput, } from 'react-admin';
33

44
const CustomerFilter = (props) => (
55
<Filter {...props}>
@@ -18,7 +18,7 @@ const CustomerList = (props) => (
1818
<TextField source='first_name' />
1919
<TextField source='last_name' />
2020
<TextField source='email' />
21-
<TextField source='activebool' />
21+
<TextField source='activebool' label='Active' />
2222
</Datagrid>
2323
</List>
2424
);

0 commit comments

Comments
 (0)