Skip to content

Commit

Permalink
Fix error of merge master
Browse files Browse the repository at this point in the history
  • Loading branch information
dklimpel committed Apr 8, 2020
1 parent f2d64a5 commit 2bbc0c6
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
8 changes: 7 additions & 1 deletion src/components/rooms.js
Original file line number Diff line number Diff line change
@@ -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>
Expand Down
4 changes: 2 additions & 2 deletions src/components/users.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ const UserFilter = props => (
);

const UserEditToolbar = props => (
<Toolbar {...props} >
<Toolbar {...props}>
<SaveButton submitOnEnter={true} />
<DeleteButton
label="resources.users.action.deactivate"
Expand Down Expand Up @@ -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" />
Expand Down

0 comments on commit 2bbc0c6

Please sign in to comment.