Fix QR code creation

Change-Id: Ib6bbd1be6d4dca1f617043c3c2338924b2321ea3
This commit is contained in:
Michael Albert
2020-04-20 12:15:52 +02:00
committed by Manuel Stahl
parent bf7867f106
commit d2a3f07a59
5 changed files with 48 additions and 5 deletions
+2 -1
View File
@@ -17,6 +17,7 @@ import {
Toolbar,
regex,
} from "react-admin";
import SaveQrButton from "./SaveQrButton";
const UserFilter = props => (
<Filter {...props}>
@@ -117,7 +118,7 @@ const redirect = (basePath, id, data) => {
const UserCreateToolbar = props => (
<Toolbar {...props}>
<SaveButton
<SaveQrButton
label="synapseadmin.action.save_and_show"
redirect={redirect}
submitOnEnter={true}