Update users.js
This commit is contained in:
parent
5dfeb0abe2
commit
1764554ce9
@ -118,6 +118,10 @@ const UserBulkActionButtons = props => {
|
|||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
const AvatarField = ({ source, className, record = {} }) => (
|
||||||
|
<Avatar src={record[source]} className={className} />
|
||||||
|
);
|
||||||
|
|
||||||
export const UserList = props => {
|
export const UserList = props => {
|
||||||
const classes = useStyles();
|
const classes = useStyles();
|
||||||
return (
|
return (
|
||||||
|
Loading…
Reference in New Issue
Block a user