Move redirect from SimpleForm to Create

Change-Id: I7c5c0043a49bcb16c131e400b2ebe022e233c5ae
This commit is contained in:
dklimpel 2024-02-05 22:20:49 +01:00 committed by Manuel Stahl
parent 2c769c309e
commit b8a0b4bef5

View file

@ -80,9 +80,8 @@ export const RegistrationTokenList = props => (
);
export const RegistrationTokenCreate = props => (
<Create {...props}>
<Create {...props} redirect="list">
<SimpleForm
redirect="list"
toolbar={
<Toolbar>
{/* It is possible to create tokens per default without input. */}