import SaveButton and yarn fix
This commit is contained in:
parent
6133f7f4f1
commit
a247221478
@ -13,6 +13,7 @@ import {
|
||||
NumberField,
|
||||
NumberInput,
|
||||
regex,
|
||||
SaveButton,
|
||||
SimpleForm,
|
||||
TextInput,
|
||||
TextField,
|
||||
@ -87,7 +88,11 @@ export const RegistrationTokenList = props => {
|
||||
export const RegistrationTokenCreate = props => (
|
||||
<Create redirect="list">
|
||||
<SimpleForm
|
||||
toolbar={<Toolbar {...props}><SaveButton alwaysEnable /></Toolbar>}
|
||||
toolbar={
|
||||
<Toolbar {...props}>
|
||||
<SaveButton alwaysEnable />
|
||||
</Toolbar>
|
||||
}
|
||||
>
|
||||
<TextInput
|
||||
source="token"
|
||||
|
@ -131,10 +131,7 @@ export const DestinationList = props => {
|
||||
export const DestinationShow = props => {
|
||||
const translate = useTranslate();
|
||||
return (
|
||||
<Show
|
||||
actions={<DestinationShowActions />}
|
||||
title={<DestinationTitle />}
|
||||
>
|
||||
<Show actions={<DestinationShowActions />} title={<DestinationTitle />}>
|
||||
<TabbedShowLayout>
|
||||
<Tab label="status" icon={<ViewListIcon />}>
|
||||
<TextField source="destination" />
|
||||
|
@ -17,14 +17,8 @@ import { DeleteMediaButton } from "./media";
|
||||
|
||||
const ListActions = props => {
|
||||
const { className, exporter, filters, maxResults, ...rest } = props;
|
||||
const {
|
||||
sort,
|
||||
resource,
|
||||
displayedFilters,
|
||||
filterValues,
|
||||
showFilter,
|
||||
total,
|
||||
} = useListContext();
|
||||
const { sort, resource, displayedFilters, filterValues, showFilter, total } =
|
||||
useListContext();
|
||||
return (
|
||||
<TopToolbar className={className} {...sanitizeListRestProps(rest)}>
|
||||
{filters &&
|
||||
|
Loading…
Reference in New Issue
Block a user