From 34a311b52b4eeaf737ed9193640fb2bc5556bab7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=20Erik=20St=C3=B8wer?= Date: Sat, 16 Dec 2023 10:58:30 +0100 Subject: [PATCH] Show account type on edit user modal, but without possibility to mutate --- src/modals/ModalEditUser.js | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/src/modals/ModalEditUser.js b/src/modals/ModalEditUser.js index 8ece0b7f..f6334a5d 100644 --- a/src/modals/ModalEditUser.js +++ b/src/modals/ModalEditUser.js @@ -22,6 +22,12 @@ import SelectField from 'material-ui/SelectField'; import MenuItem from 'material-ui/MenuItem'; import ResponsiblitySetList from './ResponsiblitySetList'; import UserRespSetPopover from './UserRespSetPopover'; +import { + FormControl, + FormControlLabel, + Radio, + RadioGroup +} from '@material-ui/core'; const initialState = { user: { @@ -189,6 +195,29 @@ class ModalEditUser extends React.Component { flexDirection: 'column' }} > + + this.handleChangeIsPersonalAccount(value)} + > + } + label="Personal account" + /> + } + label="Notification account" + /> + +