Fix error of merge master
This commit is contained in:
parent
f2d64a5d4a
commit
2bbc0c6ae6
@ -1,5 +1,11 @@
|
||||
import React, { Fragment } from "react";
|
||||
import { Datagrid, List, TextField, BulkDeleteButton, Pagination } from "react-admin";
|
||||
import {
|
||||
Datagrid,
|
||||
List,
|
||||
TextField,
|
||||
BulkDeleteButton,
|
||||
Pagination,
|
||||
} from "react-admin";
|
||||
|
||||
const RoomBulkActionButtons = props => (
|
||||
<Fragment>
|
||||
|
||||
@ -47,7 +47,7 @@ const UserFilter = props => (
|
||||
);
|
||||
|
||||
const UserEditToolbar = props => (
|
||||
<Toolbar {...props} >
|
||||
<Toolbar {...props}>
|
||||
<SaveButton submitOnEnter={true} />
|
||||
<DeleteButton
|
||||
label="resources.users.action.deactivate"
|
||||
@ -133,7 +133,7 @@ export const UserCreate = props => (
|
||||
|
||||
export const UserEdit = props => (
|
||||
<Edit {...props}>
|
||||
<TabbedForm toolbar={<UserEditToolbar>
|
||||
<TabbedForm toolbar={<UserEditToolbar />}>
|
||||
<FormTab label="resources.users.name" icon={<PersonPinIcon />}>
|
||||
<TextInput source="id" disabled />
|
||||
<TextInput source="displayname" />
|
||||
|
||||
Loading…
Reference in New Issue
Block a user