From 2ef23779266778d6ff09f48fa57331549302c972 Mon Sep 17 00:00:00 2001 From: Deluan Date: Sun, 19 Jan 2020 22:47:39 -0500 Subject: [PATCH] Add a proper title to the UserEdit view --- ui/src/user/UserEdit.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ui/src/user/UserEdit.js b/ui/src/user/UserEdit.js index 3fee6c6f..92a24842 100644 --- a/ui/src/user/UserEdit.js +++ b/ui/src/user/UserEdit.js @@ -9,8 +9,11 @@ import { SimpleForm } from 'react-admin' +const UserTitle = ({ record }) => { + return User {record ? record.name : ''} +} const UserEdit = (props) => ( - + } {...props}>